Lesson 2 - Principles of Object Oriented Systems
Lesson 2 - Principles of Object Oriented Systems
i. Class
ii. Object
iii. Encapsulation
iv. Inheritance
v. Polymorphism
vi. Abstraction
Principles/Fundamentals of Object Oriented Systems
Child/
HOSPITALITY HOSPITALITY Derived/Sub
I.T./ENG Class
Graduate()=complete Graduate()=complete Graduate()=complete
course+project+attachment course+do group course+write a
hotel thesis+attachment
management+attach
Object ment
Mary Robert
SHAPES
Parent/Super/Main/Base Class
Length
Width Attributes
Height
Area() Functions
Inheritance
Volume()
Rectangle Circle
Triangle
Area() = Area()=pie*length*le
Object Area()=0.5*width*height
length*width ngth
End
---------------------------