You are on page 1of 8

FUNDAMENTALS OF

OBJECT-ORIENTED
PROGRAMMING LANGUAGE
PREPARED BY:

ALIZA JOYCE NEBRIJA & RAYMOND EUDILLA


2ND YEAR D_INFORMATION TECHNOLOGY BAJADA
WHAT IS OOP?

a programming paradigm that relies


on the concept
of classes and objects. It is used to
structure a software program into
simple, reusable pieces of code
blueprints (usually called classes),
which are used to create individual
instances of objects. There are
many object-oriented programming
languages including JavaScript, C++
, Java, and Python.
4 FUNDAMENTALS CONCEPTS OF
OBJECT ORIENTED PROGRAMMING

Abstraction
Encapsulation
Inheritance
Polymorphism
ABSTRACTION

In object –oriented
programming, abstraction
is one of three central
principles. Through the
process of abstraction, a
programmer hides all but
relevant data about an
object in order to reduce
complexity and increase
efficiency.
Encapsulation
Encapsulation may also refer to a mechanism
of restricting the direct access to some
components of an object, such that users
cannot access state values for all of the
variables and a particular object. Encapsulation
can be used to hide both data members and
data functions or methods associated with an
instantiated class or object.
Inheritance
An objector class being based on another
object or class, using the same
implementation or specifying a new
implementation the same behavior.
Inheritance can help us to represent objects
which have some differences and some
similarities in the way they work. We can put
all the functionality that the objects having
common in a base class, and then define one
or more subclasses with their own custom
functionality.
POLYMORPHISM
Polymorphism is a feature of object
programming languages that allows a
specific routine to use variables of
different types at different times.
Polymorphism is the ability of
programming language to present the
same interface for several different
underlying data types.
THANK YOU!

You might also like