理解oop

1.Everything 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.


An object has state,behavior and identify.

猜你喜欢

转载自blog.csdn.net/leadseczgw01/article/details/79297655
OOP
今日推荐