0% found this document useful (0 votes)
81 views

Experiment-6: AIM: Draw The Class Diagram of Airline Reservation System

The document discusses creating a class diagram for an airline reservation system. It defines what a class diagram is and its purpose in modeling a system's classes, attributes, operations, and relationships. It describes the key components of a class diagram including classes, relationships between classes, and class notation which specifies the class name, attributes, and operations. The goal is to draw a class diagram that models the structure of an airline reservation system.

Uploaded by

abcdeb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views

Experiment-6: AIM: Draw The Class Diagram of Airline Reservation System

The document discusses creating a class diagram for an airline reservation system. It defines what a class diagram is and its purpose in modeling a system's classes, attributes, operations, and relationships. It describes the key components of a class diagram including classes, relationships between classes, and class notation which specifies the class name, attributes, and operations. The goal is to draw a class diagram that models the structure of an airline reservation system.

Uploaded by

abcdeb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

EXPERIMENT-6

AIM: Draw the class diagram of airline reservation system.

In software engineering, a class diagram in the Unified Modelling Language (UML)) is a


type of static structure diagram that describes the structure of a system by showing the
system's classes, their attributes, operations (or methods), and the relationships among
objects.
Purpose of Class Diagrams
1. Shows static structure of classifiers in a system
2. Diagram provides basic notation for other structure diagrams prescribed by UML
3. Helpful for developers and other team members too
4. Business Analysts can use class diagrams to model systems from business
perspective
A UML class diagram is made up of:
 A set of classes and
 A set of relationships between classes
A description of a group of objects all with similar roles in the system, which consists of:
 Structural features (attributes) define what objects of the class "know"
 Represent the state of an object of the class
 Are descriptions of the structural or static features of a class
 Behavioral features (operations) define what objects of the class "can do"
 Define the way in which objects may interact
 Operations are descriptions of behavioral or dynamic features of a class

Class Notation
A class notation consists of three parts:
1. Class Name
 The name of the class appears in the first partition.
2. Class Attributes
 Attributes are shown in the second partition.
 The attribute type is shown after the colon.
 Attributes map onto member variables (data members) in code.
3. Class Operations (Methods)
 Operations are shown in the third partition. They are services the class
provides.
 The return type of a method is shown after the colon at the end of the method
signature.
 The return type of method parameters are shown after the colon following
the parameter name.
 Operations map onto class methods in code

You might also like