One way to capture the power of polymorphism in the Java language is to declare an interface type and have other types implement that interface.
英
美
- 在Java语言中利用多态性的方式之一是宣告一个介面类型,并让其他类型实作这个介面。