面向对象分析和设计概述.ppt

“备”则“倍” 有准备、有规划的人生更精彩! At the class level, the Student class attributes indicate that the Students have names, addresses, studentID’s, and a date of birth. At the object level, the attributes indicate the values for the name, address, studentID, and date of birth. Only the class instance (objects) should be able to change the value of the attributes. The state of an object is defined by the value of its attributes and the existence of links to other objects. Remember, the doughnuts are not UML icons. They are included in this illustration to show that the attribute values are set in the i

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档