Ostrich is a Bird (definitely it is!) and hence it inherits the Bird class.
Ostrich(鸵鸟)是一种鸟(显然是),并从Bird类继承。
Now, if a Bird class (say, Ostrich) implements this interface, it has to implement the Fly() behaviour unnecessarily (Ostrich doesn't fly).
现在如果一个Bird类(如Ostrich)实现了这个接口,那么它需要实现不必要的Fly()行为(Ostrich不会飞)。
Matilda is the leader of the anger management class on bird Island. She is a former angry bird herself, but has since learned the error of her ways.
大白鸟玛蒂尔达是愤怒管理的高手。她之前是一只脾气暴躁的小鸟,但是她现在已经改变了她错误的处事方式了。
应用推荐