面向对象的几个原则

1. Every thing is an Object.it

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

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

4. Every object has a type.memory

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

相关文章
相关标签/搜索