对象

object=attribute+service 对象内部有它静态的量,不能改变的量 而有一些接口在这些数据外面做函数的处理

对象与信息

信息是由人发出 由接收者转化 由函数运行

作为结果 可能会改变status 可能会return什么

对象的集合 能归为这个类 要定义出具有某些properties或者status的对象才能归为这个类 class defines object object is a class 杯子定义了杯子该有的属性 而我的杯子它是个杯子

面向对象

what to do rather than how to do what inside an object is objects the objects under one type recieve same message, in another those can recieve same message, we can say they are same type. we confirm a class always see its interface. If those objects have the same interface, they can regard as one type