|
Answer» Object Oriented Programming: - Emphasizes on data rather than algorithm.
- Data abstraction is introduced in addition to procedural abstraction.
- Data and its associated operations are grouped in to single unit.
- Programs are designed around the data being operated.
- Example: C++, Java, VB.Net, Python
Procedural Programming: - Programs are organized in the form of subroutines or sub programs.
- All data items are global.
- Suitable for small sized software application.
- Difficult to maintain and enhance the program code as any change in data type needs to be propagated to all subroutines that use the same data type.
- Example: FORTRAN and COBOL
|