java @Override
时间: 2023-11-01 15:58:29 浏览: 112
在Java中,@Override是一个注解,用于标记一个方法是覆盖父类或实现接口中的方法。它的作用是告诉编译器,该方法是要覆盖父类或实现接口中的方法,如果没有成功覆盖,则编译器会报错。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [java重写(@Override)介绍及实例说明](https://blog.csdn.net/xijinno1/article/details/128991416)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [android @override 报错解决方案](https://download.csdn.net/download/weixin_38681736/12816962)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文