
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference Between OOP and POP
OOP
OOP, refers to Object Oriented Programming and its deals with objects and their properties. Major concepts of OOPs are −
Class/objects
Abstraction
Encapsulation
Polymorphism
Inheritance
POP
POP, refers to Procedural Oriented Programming and its deals with programs and functions. Programs are divided into functions and data is global.
Following are the important differences between OOP and POP.
Sr. No. | Key | OOP | POP |
---|---|---|---|
1 | Definition | OOP stands for Object Oriented Programing. | POP stands for Procedural Oriented Programming. |
2 | Approach | OOP follows bottom up approach. | POP follows top down approach. |
3 | Division | A program is divided to objects and their interactions. | A program is divided into funtions and they interacts. |
4 | Inheritance supported | Inheritance is supported. | Inheritance is not supported. |
5 | Access control | Access control is supported via access modifiers. | No access modifiers are supported. |
6 | Data Hiding | Encapsulation is used to hide data. | No data hiding present. Data is globally accessible. |
7 | Example | C++, Java | C, Pascal |
Advertisements