OOPs stand for “Object Oriented Programming”. OOP is a design concept, which has many features like Inheritance, Polymorphism, Encapsulation, and Abstraction (Data Binding) etc.
OOPs have been inspired from real word life. It is very easy to understand and to implement secure and maintainable application using Object Oriented concepts.
First Object-Oriented programming language is Simula but Smalltalk is first truly Object Oriented Programming language.
What is Object Oriented Programming?
Object means a real world entity such as Dog, Cat, Car, Table, and Pen etc. Object Oriented Programming is a methodology to design a program using Classes and Objects. It simplifies the software development and maintenance by providing below concepts:
|Object Oriented Programming||Procedure Oriented Programming|
|In OOP, program is divided into parts calledobjects.||In POP, program is divided into small parts called functions.|
|In OOP, Importance is given to the data rather than procedures or functions because it works as a real world.||In POP, Importance is not given to databut to functions as well assequence of actions to be done.|
|OOP followsBottom Up approach.||POP follows Top Down approach.|
|OOP has access modifier named Public, Private, Protected, etc.||POP does not have any access modifier.|
|In OOP, objects can move and communicate with each other through member functions.||In POP, Data can move freely from function to function in the system.|
|OOP provides an easy way to add new data and function.||To add new data and function in POP is not so easy.|
|In OOP, data cannot move easily from function to function, it can be kept public or private so we can control the access of data.||In POP, Most function uses Global data for sharing that can be accessed freely from function to function in the system.|
|OOP provides Data Hiding so provides more security.||POP does not have any proper way for hiding data so it is less secure.|
|In OOP, overloading is possible in the form of Function Overloading and Operator Overloading.||In POP, Overloading is not possible.|
|C++, JAVA, VB.NET, C#. NET.||C, VB, FORTRAN, Pascal.|