| 1. |
Define object oriented programming. Write the limitations of object oriented programming. |
|
Answer» Object-oriented programming is a programming methodology based on objects, instead of just functions and procedures. These objects are organized into classes, which allow individual objects to be group together. Limitations: 1. Size: 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. |
|