面向对象的几个原则

1. Every thing is an Object.

2. A program is a bunch of objects telling each other what to do by sending messages.

3. Each object has its own memory made up of other objects.

4. Every object has a type.

5. All objects of a particular type can receive the same messages.

posted @ 2014-11-16 00:03  Quincy Qiu  阅读(103)  评论(0编辑  收藏  举报