- 2069 Chaitra · 2 marks
How OOP differs from POP
Short answer
POP emphasizes functions and steps, with global data and top-down design. OOP emphasizes objects, data hiding, bottom-up approach, and supports inheritance and polymorphism.
How does the OOP differ from POP?
| Point | POP (procedure oriented) | OOP (object oriented) |
|---|---|---|
| Main focus | Functions and the sequence of actions | Objects and data |
| Approach | Top-down | Bottom-up |
| Data security | Global data, can be changed by any function | Data hiding through encapsulation |
| Reusability | Limited | High, by inheritance |
| Polymorphism | Not supported | Supported (overloading, virtual functions) |
| Examples | C, Pascal | C++, Java |
✓ Answer checked by Claude Opus 5.5 (high effort)