yeafee@夜飞郎

it's usually better to solve problems with simplicity and finesse rather than muscle.

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  33 随笔 :: 3 文章 :: 2 评论 :: 0 Trackbacks

02 2010 档案

     摘要: abstract class 和 interface 区别开来还是容易的。只要弄清楚描述对象本质和抽象概念的关系就好区分了。当描述对象本质和抽象概念是"is-a"关系时使用abstract来抽象描述对象;当描述对象本质和抽象概念是"like-a"关系时使用interface来抽象该对象。
  阅读全文
posted @ 2010-02-09 16:07 @yeafee 阅读(177) | 评论 (0)  编辑