Definition of OOP
OOPs (object oriented programming language) is a programming methodology which is associates data structures with a set of operators that act upon it.
OOP is a method of implementation in that programs are organized as co- operative collections of objects, each of which represents an instance of some class and whose classes are all members of a hierarchy of classes united by the property known as inheritance.
Depending on the object characteristics supported, the languages are categorized into two categories:
- Object-Based Programming Languages
- Object-Oriented Programming Languages
Object-based programming languages support encapsulation object which recognized without supporting the important features of inheritance, polymorphism and message communications. Instance, ADA.
Object-based language =Encapsulation + Object Identity
OOPs incorporate all the characteristics of object-based programming languages with inheritance and polymorphism.
Object-oriented programming language = Object = based language + polymorphism +inheritance
The topology of the Object Oriented Programming is displayed in Figure. The modules represent the physical building blocks of these languages; a module is a set of object and classes.
Figure: Object - Oriented Programming
OOPs are a methodology which permits the relation of data structures with operations same to the way it is perceived in the human mind.