Object-Oriented Programming (Oop) : Prepared By: Joem F. Gutierrez

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 9

OBJECT-ORIENTED

PROGRAMMING (OOP)
Prepared By: Joem F. Gutierrez
What is 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.
OOP focuses on the objects that developers want to
manipulate rather than the logic required to
manipulate them. This approach to programming is
well-suited for programs that are large, complex and
actively updated or maintained.
What is a Class in OOPs Concepts?
- A class can be considered as a blueprint using
which you can create as many objects as you like.
What is an Object in OOPs Concepts?
- Object is a bundle of data and its behavior(often
known as methods).
- Objects have two characteristics:
They have states and behaviors.
Examples of states and behaviors
Example 1:
Object: House
State: Address, Color, Area
Behavior: Open door, close door
Characteristics of
Objects:
1.Abstraction
2.Encapsulation
3.Message passing
What is Properties in OOPs Concepts?
- A property is a special sort of class member,
intermediate in functionality between a field (or
data member) and a method.

What is Method in OOPs Concepts?


- A method is a procedure associated with a
message and an object
Principles/features of OOP (4 basics of OOP)
Object-oriented programming is based on the
following principles/features:
Encapsulation
Abstraction
Inheritance
Polymorphism
Principles of OOP (4 basics of OOP)
Object-oriented programming is based on the
following principles:
Encapsulation
Abstraction
Inheritance
What is object-oriented programming (OOP)? (tec
htarget.com)
OOPs in Java: Encapsulation, Inheritance, Polymorphism, Abstr
action (beginnersbook.com)

You might also like