Override Method 重写方法 ; 重载方法
Cannot override a static method 不能覆盖静态方法 ; 不能笼罩静态方式
Subclass & Override Method 子类化并重写方法
Extract & Override Factory Method 提取并重写工厂方法
Override an existing callback method for the View.
为视图覆写一个现有的回调方法。
When implementing an interface, your method must override all methods of the interface.
当您在实施一个界面时,您的方法必须替换界面的所有方法。
In a subclass you can make assumptions about the internal state of the superclass when the method you override is getting called.
当子类所重写的方法被调用时,你可以在子类中对父类的内部状态进行操作。
应用推荐