Professional Documents
Culture Documents
Car Human
Suzuki Man
BMW Woman
Car Human
BMW
Woman
Suzuki
Man
Program
Tom.holdYourSweep()
Program
Tom.BeatJerry()
IN PROGRAMMING
OO Concepts - Abdalla Mahmoud 17
Object and Their Interaction
Tom.holdYourSweep()
Program
message
Tom.BeatJerry()
IN PROGRAMMING
OO Concepts - Abdalla Mahmoud 18
Object and Their Interaction
Tom.holdYourSweep()
Program
message
Tom.BeatJerry()
message
IN PROGRAMMING
OO Concepts - Abdalla Mahmoud 19
OOP Concepts
• Class.
• Object.
• Instance.
• State.
• Method.
• Encapsulation.
• Inheritance.
• Polymorphism.
• Object
• Class
• Superclass
• Subclass