OOPs concepts include objects, classes, encapsulation, inheritance, and polymorphism. Objects are run-time entities that can access class data through associated methods. Classes are user-defined data types that implement abstraction and encapsulation. Encapsulation provides an interface between an object's data and the program. Inheritance allows classes to inherit properties from superclasses and subclasses. Polymorphism allows an object to take different forms depending on its data type. Constructors initialize objects and destructors finalize them. OOPs benefits applications by building secure, modularized programs that are reusable and allow interference-free object coexistence.
2. OOPs? Concepts in OOPs? Objects & classes Data abstraction and Encapsulation Inheritance and Its types? Polymorphism and its types? Constructors and Destructors Benefits and application
3. It is an approach that provides a way of modularizing programs by creating partitioned memory area for both data and functions that can be used as templates for creating copies of such modules on demand.
4. Objects and classes Data Abstraction Data Encapsulation Inheritance polymorphism
5. Objects : Run-time entities The data of an object can be accessed only by methods associated with that objects. Classes : User-defined data type. Class basically implements the planning & it is nothing but alternative of structure.
6. Abstraction : It refers to an act of representing essential features without including the background details. Classes use the concept of abstraction Data hiding Encapsulation : It is the most striking features of class It provides interface between objects data and program
7. It provides the idea of Reusability It is a process by which objects of one class acquire the properties of objects of another class. It has super class and sub classes
10. It is an ability to take more than one form. Behaviour is depends upon the types of data used in the operation. Different internal structures to share the same external interface.
12. Constructor : It enables an objects to initialize itself when it is created. Do not specify return type. Destructor : Mostly in virtual form.
13. To built secure program by data hiding. Eliminating redundant code and extend use of existing classes. It is easy to partition the work in a project based on objects. To have multiple objects to coexist without any interference .