InterviewSolution
| 1. |
Write the disadvantages of object oriented programming. |
|
Answer» The few disadvantages of OOP are: 1. Size: Object-Oriented programs are much larger than other programs. In the early days of computing, space on hard drives, floppy drives and in memory was at a premium. Today we do not have these restrictions. 2. Effort: 3. Speed: 4. Not suitable for all types of problems: 5. Not all programs can be modeled accurately by the objects model. If you just want to read in some data, do something simple to.it and write it back out, you have no need to define classes and objects. However, in some OOP languages, you may have to perform this extra step. 6. The objects often require extensive documentation. |
|