Differences between POP and OOP

Differences between POP and OOP



POP
OOP
1.    It emphasis on algorithms.
   1. OOP emphasis on data rather than                    procedure
2.    Large program are divided into smaller program known as function.
     2. Programs are divided into object.
3.    They don’t have facilities to hide data.
3. They have facility to hide data from outside world.
4.    Function can transfer data from one function to another user parameters.
4. Object can communicate with each other using function.
5.    It doesn’t have powerful features like operator overloading, inheritance etc.
5. It contains powerful features like operator overloading, inheritance etc.
6.    it uses top-down approach for program design.
6. It uses bottom-up approach for program design.
7.    For example: C, COBOL,FORTAN,Q-Basic
7. Example: C++, Java, Python etc.

No comments:

Powered by Blogger.