Lec 03_OOPs Concepts
Lec 03_OOPs Concepts
Lecture 2
Dr Gowtham Ramesh
What is object-oriented
programming (OOP)?
• Object-oriented programming is a method of
implementation in which programs are organized as
cooperative collections of objects, each of which
represents an instance of some class, and whose
classes are all members of a hierarchy of classes united
via inheritance relationships.
Elements of OOP Model
Behaviour
member functions
methods
Abstraction – Class
• Data Abstraction - When the object data is not visible to the outer world, it creates data
abstraction. If needed, access to the Objects’ data is provided through some methods.
• Process Abstraction - We don’t need to provide details about all the functions of an object.
When we hide the internal implementation of the different functions involved in a user
operation, it creates process abstraction.
Elements of OOP Model
Vertebrates Invertebrates