Skip to main content

Features of OOPs

 OBJECT ORIENTED PROGRAMMING 


Meaning:-

Object-Oriented Programming (OOP) is a programming concept that uses classes and objects. 

It’s utilized to break down a software program into reusable code blueprints (called classes) that you may use to build specific instances of 

Object-oriented programming languages include JavaScript, C++, Java, and Python, to name a few. 

Features of OOPs:-

The various features of Object Oriented Programming (OOPs) are as follows:-

Fig: Features of OOPs 

Object 

An object is one of the important features of Object-oriented programming .An object represents a real-life entity which is an instance of a class. 

Objects have mainly two characteristics of state and behavior. The state is nothing but an identity of the object(data) 

Behavior describes the function(method) of the object.

Class

A class is another feature of object oriented programming.

A class can be defined as a blueprint from which we can create multiple objects. 

For Example:-

Any program in object oriented programming language like java we write should be written as a class which is yet another feature of OOPs.

Polymorphism 

Polymorphism is made up of two Greek words

i.e. "Poly" and "Morphs"  which means one entity many forms 


Polymorphism is of two types:-

(a) Runtime Polymorphism 

(b) Compile Time Polymorphism

Encapsulation

Encapsulation is also one of the important feature of Object Oriented Programming (OOPs).

Encapsulation means hiding internal details from user and shows only important ones.


Inheritance 

Inheritance is also another features of OOPs in which a child class also known as derived class inherits the features and properties of its parent class also known as base class.

Abstraction 

Abstraction is the process of hiding irrelevant information from the user.

Conclusion 

Hence these are the features of Object Oriented Programming Language (OOPs) which makes programming easy to use and implement 




Comments