Object Oriented Programming: Unit I: Introduction to OOP and Java

Benefits and Drawbacks of OOP

1. Using inheritance the redundant code can be eliminated and the existing classes can be used.2. The standard working modules can be created using object oriented programming.These modules can then communicate to each other to accomplish certain task.

Benefits and Drawbacks of OOP

Benefits

Following are some advantages of object oriented programming -

1. Using inheritance the redundant code can be eliminated and the existing classes can be used.

2. The standard working modules can be created using object oriented programming.These modules can then communicate to each other to accomplish certain task.

3. Due to data hiding property, important data can be kept away from unauthorized access.

4. It is possible to create multiple objects for a given class.

5. For upgrading the system from small scale to large scale is possible due to object oriented feature.

6. Due to data centered nature of object oriented programming most of the details of the application model can be captured.

7. Message passing technique in object oriented programming allows the objects to communicate to the external systems.

8. Partitioning the code for simplicity, understanding and debugging is possible due to object oriented and modular approach.

Drawbacks

Following are some drawbacks of OOP -

1. The object oriented programming is complex to implement, because every entity in it is an object. We can access the methods and attributes of particular class using the object of that class.

2. If some of the members are declared as private then those members are not accessible by the object of another class. In such a case you have to make use of inheritance property.

3. In Object oriented programming, every thing must be arranged in the forms of classes and modules. For the lower level applications it is not desirable feature.

Object Oriented Programming: Unit I: Introduction to OOP and Java : Tag: : - Benefits and Drawbacks of OOP


Object Oriented Programming: Unit I: Introduction to OOP and Java



Under Subject


Object Oriented Programming

CS3391 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation



Related Subjects


Discrete Mathematics

MA3354 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation


Digital Principles and Computer Organization

CS3351 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation


Foundation of Data Science

CS3352 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation


Data Structure

CS3301 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation


Object Oriented Programming

CS3391 3rd Semester CSE Dept | 2021 Regulation | 3rd Semester CSE Dept 2021 Regulation