It indicates that the annotated method is overriding a method in a superclass.
它指明注释的方法将覆盖超类中的方法。
When you finally realize that a method has a parameter wrong, and in fact isn't overriding a method from a superclass, much bitterness can result.
当最后认识到方法的参数有错,且该方法实际上没有覆盖超类中的方法时,您可能更感到难受。
If a subclass of one of these classes needed to override the default behavior, it could do so by overriding the method.
如果这些类中的任何一个的子类需要覆盖默认行为,那么可以通过覆盖这个方法实现。
应用推荐