Basic Principles of OOP
Basic Principles of OOP
Object Oriented
Programming
CPEOOP12Z
Content
Class Diagrams
Class Relationships
What is Object
Oriented
Programming?
• Object-oriented
programming (OOP) is a
computer programming
model that organizes
software design around
data, or objects, rather than
functions and logic. An
object can be defined as a
data field that has unique
attributes and behavior.
Object-oriented
programming has several
advantages over
procedural programming:
• In object-oriented
programming, abstraction
refers to the concept of
showing only the
necessary information to
the user i.e. hiding the
complex details of
program implementation
and execution.
Advantages of Data Abstraction