Tuesday, April 13, 2021

Difference between OOP and POP

Oracle Database Tutorial and Material, Oracle Database Preparation, Oracle Database Exam Prep, Oracle Database Career

OOP:

Related with the real life objects and their properties. OOP Concepts:

1. Class and Objects

2. Data abstraction

3. Encapsulation

4. Polymorphism

5. Inheritance 

POP:

Related with the conventional style. This approach is also known as the top-down approach. In this approach, a program is divided into functions that perform specific tasks. This approach is mainly used for medium-sized applications. Data is global, and all the functions can access global data. The basic drawback of the procedural programming approach is that data is not secured because data is global and can be accessed by any function. Program control flow is achieved through function calls and go to statements.

Oracle Database Tutorial and Material, Oracle Database Preparation, Oracle Database Exam Prep, Oracle Database Career

Difference between OOP and POP:

OOP POP 
Object oriented. Structure oriented.
Program is divided into objects. Program is divided into functions.
Bottom-up approach. Top-down approach.
Inheritance property is used. Inheritance is not allowed.
It uses access specifier. It doesn’t use access specifier.
Encapsulation is used to hide the data. No data hiding.
Concept of virtual function. No virtual function.
C++, Java. C, Pascal.

Related Posts

0 comments:

Post a Comment