Object Oriented Programming popularly known as OOP, is a programming concept that work on the principle that objects are the most vital part of your program. It permits users make the objects that they need and afterward make techniques to deal with those objects. manipulating these objects to get results is the objective of Object Oriented Programming.

OOP is utilized in a cutting edge programming dialect like Java.

Since the 1980s the word ‘objects’ has showed up in connection to programming languages, with almost all language created since 1990 having object-oriented features. A few languages have even had object-oriented features retro-fitted. It is generally acknowledged that object-oriented programming is the most imperative and amazing method for creating software.

Advantages Of Object Oriented Programming :

  • OOP provides a clear particular structure to programs.
  • It is useful for defining abstract data types.
  • Usage detail are escaped different modules and other modules has a clearly defined interface.
  • It is easy to maintain and adjust existing code as new objects can be made with small differences to existing ones.
  • objects, strategies, instance, message passing, legacy are some vital properties given by these specific language.
  • encapsulation, polymorphism, abstraction are likewise checks in these basics of programming language.
  • It implement real life scenario.
  • In OOP, programmers not only defines types as well as manages with operations applied for data structures.

Features Of Object Oriented Programming –

  • More reliable software development possible.
  • Advanced version of C programming language
  • The most important feature is that it is procedural and object oriented nature.
  • Very suitable for large projects.
  • Quite efficient languages
  • It has the features of memory management.


understanding of basic oops concept Core OOPS concepts are

1) Class

The class is a group of similar entities. It is just a logical component and not the physical entity. For instance, if you had a class called “Costly Cars” it could have objects like Mercedes, BMW, Toyota, and so on. Its properties(data) can be cost or speed of these cars. While the techniques might be performed with these vehicles are driving, reverse, braking etc.

2) Object

A objects can be characterized as a case of a class, and there can be different occasions of a class in a program. An Object contains both the data and the functions, which works on the data. For instance – seat, bicycle, marker, pen, table, vehicle, and so on.

3) Inheritance

Inheritance is an OOPS concepts in which one object gets the properties and practices of the parent object. It’s making a parent-child connection between two classes. It offers strong and common instrument for organizing and structure of any software.

4) Polymorphism

Polymorphism refers to the capacity of a variable, object to take on different forms. For instance, in English, the verb “run” has an alternate significance in the event that you use it with “a laptop,” “a foot race, and “business.&rdquo Here, we comprehend the importance of “run” in view of alternate words utilized alongside it.The same additionally connected to Polymorphism.

5) Abstraction

Abstraction is an act of expressing essential features without including background details.

It is a method of making another data type that is suited for an explicit application. For instance, while driving a vehicle, you don’t need to be worried about its interior working. Here you simply need to worry about parts like steering wheel, Gears, accelerator, etc.

6) Encapsulation

Encapsulation is an OOP technique that wraps data and code. In this OOPS concept, class variables are always hidden from other classes. It must be gotten to utilizing the strategies for their present class. For instance – in school, a student can’t exist without a class.

7) Association

Association is a connection between two objects. It characterizes the decent variety between objects. In this OOP concept, all object have their different lifecycle, and there is no owner. For instance, numerous students can connect with one teacher while one student can likewise connect with different instructors.

8) Aggregation

In this strategy, all objects have their different lifecycle. Be that as it may, there is ownership to such an extent that child object can’t have a place with another parent objects. For instance think about class/objects department and instructor. Here, a single instructor can’t have a place with different divisions, yet regardless of whether we erase the department, the teacher object will never be destroyed.

9) Composition

A composition is a particular type of Aggregation. It is additionally called “death” relationship. Child objects don’t have their life cycle so when parent objects delete all child protest will likewise delete naturally. For that, how about we take a case of House and rooms. Any house can have a few rooms. One room can’t turn out to be a piece of two different houses. In this way, in the event that you delete the house room will also be deleted.

Leave a Reply