Please enable JavaScript.
Coggle requires JavaScript to display documents.
NaeemOOPS Concept - Coggle Diagram
Naeem
OOPS Concept
Object
Class
Inheritance
Relation type
:
Is A
eg: Car
is a
Vehicle
Polymorphism
Dynmaic/Runtime
eg: Overridden API
eg: UpCasting:
Vehicle vechile= new Car()
Static/Compile-time
Eg: Overloaded API
Abstraction
Encapsulation
Association
Relation type
:
HAS A
Aggregation
Weak Association and
both exists can exist separately too
eg: Car has a Driver
Team has a player
Composition
Strong Association and Tight Coupling
eg: Car has Engine