面向对象编程的特点(Object-oriented programming)
时间:2010-12-16 来源:Arthur Peng
1. Everything is an object.
2. A program is a bunch of objects telling each other what todo 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 samemessages.
相关阅读 更多 +
排行榜 更多 +