0
5.5kviews
Define the terms link and association. Also draw a class diagram for railway reservation system.

Subject: Object Oriented Modeling and Design

Difficulty: Medium

Marks: 8 Marks

1 Answer
0
309views

Links: A Link is the basic relationship among objects. It is used in object diagrams. Helps inunderstanding the relationship between objects, with data values and multiplicity diagram.

Association: An association represents a family of links. A binary association (with two ends) is normally represented as a line. An association can link any number of classes. An association with three links is called a ternary association. An association can be named, and the ends of an association can be adorned with role names, ownership indicators, multiplicity, visibility, and other properties.

enter image description here

Please log in to add an answer.