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语言中利用多态性的方式之一是宣告一个介面类型,并让其他类型实作这个介面。
今日热词
目录 附录 查词历史