One of the principal advantages of object-oriented programming techniques over procedural programming techniques is that they enable programmers to create modules that do not need to be changed when a new type of object is added. A programmer can simply create a new object that inherits many of itsfeatures from existing objects. This makes object-oriented programs easier to modify.
To perform object-oriented programming, one needs an object-orientedprogramming language (OOPL). Java, C++ and Smalltalk are three of the more popular languages, and there are also object-oriented versions ofPascal.
2. Chracterstics of OOP:
Encapsulation – Encapsulation is capturing data and keeping it safely and securely from outside interfaces.
Inheritance- This is the process by which a class can be derived from a base class with all features of base class and some of its own. This increases code reusability.
Polymorphism- This is the ability to exist in various forms. For example an operator can be overloaded so as to add two integer numbers and two floats.
Abstraction- The ability to represent data at a very conceptual level without any details.
Some key features of the Object Oriented programming are: • Emphasis on data rather than procedure • Programs are divided into entities known as objects • Data Structures are designed such that they characterize objects • Functions that operate on data of an object are tied together in data structures • Data is hidden and cannot be accessed by external