The Beginning use of Polymorphism
摘要:
When the implementation for the same member signature varies between two or more classes, you have a key object-oriented principal: polymorphism. Poly" meaning many and "morph" meaning form, polymorphism refers to the fact that there are multiple implementations of the same signature. And since the same signature cannot be used multiple times within a single class, each implementation of the member signature occurs on a different class. 阅读全文
posted @ 2009-04-26 15:08 冠华仔 阅读(272) 评论(0) 推荐(0) 编辑