2. Course Objective
•Objective of this course is to make students
familiar with Object Oriented concepts of
Programming
•By the end of this module the students should
be able to know what is involved in creating a
fully functional program
7. Object Oriented Programing
•It is a technique for system modeling
•Object Oriented Model consists of several
Interacting objects.
8. What is Model?
• A model is an abstraction of something (real, conceptual)
• The purpose of Modeling/Model is to understand the product before
developing it.
• E.g.
• Highway Model
• Architectural Model
• Mechanical Models
9.
10. • Objects:
• Ali
• Car
• House
• Tree
Entity
Entity
Entity
Entity
• Interactions:
• Ali lives in a
House
• Ali drives a car
Behavior
11. Advantages of Object Orientation
• Peoples think in terms of objects
• OO maps to reality
• Therefore, OO models are:
• Easy to understand
• Easy to develop
12. What is Object?
• An object is something Tangible (ali, Car, House, Tree)
• Something that can be apprehended intellectually
(DOB, Time)
• An object has:
• It must have state(attributes)
• Well defined behaviors(Operations)
• Unique identity