This is useful if you need to create multiple custom classes that behave similarly and can be used interchangeably.

 
  • 当你要建立多个具有能够使用的、相似功能的自定义类时,这对于你是非常有用的。例如,下面代码定义一个接口,这个接口包含了三个成员。
今日热词
目录 附录 查词历史