接口和类区分(从某一个方面来说)

接口是has,意思是继承类has接口的功能 (小轿车有驾驶的功能)
类继承是is,意思是继承类is 类 (小轿车是个车)

posted @ 2011-10-31 22:49  walleyekneel  阅读(166)  评论(0编辑  收藏  举报