Do define an interface if you need some common functionality to be supported by a set of types that includes some value types.

 
  • 如果一组包含某些值类型的类型需要支持某些常用功能,则必须定义接口。
今日热词
目录 附录 查词历史