written 5.8 years ago by | • modified 5.8 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 4 Marks
written 5.8 years ago by | • modified 5.8 years ago |
Subject: Object Oriented Modeling and Design
Difficulty: Medium
Marks: 4 Marks
written 5.8 years ago by |
Notations used in object diagram:
1. Object: - An object is a concept, abstraction or thing that has meaning for an application. Object is basic run time entity. In UML object is represented with a box including its name followed by a colon and class name. Object and class name both are written in bold face with underline. Object can have attributes. Attributes are specified in the second part of the block. Attribute name is followed by value.
2. Link- It is physical or conceptual connection among objects. It is used to show relationship among objects. It is represented with a solid line connecting two objects. Name of the link is written in italic form above line.