Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Riphah International University

Islamabad I-14 main campus

Course code CS2104 Course Title Software Design & Architecture Lab

Revision of OOP (Abstraction, Realization,


Lab 02 Objective
Generalization & specialization)

 Revision of Object Oriented Programming:


 Abstraction
 UML (Class Diagram)

 Carrot “^” symbol is used to show the overridden method, Italic font used for
abstract classes and methods.
 Implementation
 Realization

 Symbols for interface are “<<interface>>” above the class name.


 Implementation
 Generalization
 UML (Class Diagram)

 Arrow head is used to represent the inheritance.


 Implementation
 Specialization

 Implementation

 Tasks

o Practice task

 Revise all the symbols of UML class diagram related to Abstraction,


Realization, Generalization & Specialization.

You might also like