Advertisements
Advertisements
प्रश्न
Differentiate between Traditional Procedural Programming Approach and Object-Oriented Programming Approach
Write any thee distinct differences between Procedure Oriented and Object Oriented Programming.
फरक स्पष्ट करा
उत्तर
Sr. No. | Traditional Procedural Programming Approach |
Object Oriented Programming Approach |
1. | In this approach, the problem is viewed as a sequence of things to be done. | In this approach, the problem is decomposed into a number of entities called objects and then builds data and function around these entities. |
2. | Emphasis is on doing things. | Emphasis is on the data rather than procedure. |
3. | Large programs are divided into smaller programs known as functions. | Programs are divided into entities known as objects. |
4. | Data move openly around the system from function to function. | Data is hidden and cannot be accessed by external functions. |
5. | Employs top-down approach in program design. | Follows bottom-up approach in program design. |
shaalaa.com
C++ Programming
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?