NCERT Computer: Chapter 8 – General Concept of OOP Part 4

Download PDF of This Page (Size: 214K)

5 Benefits of OOP

OOP provides lot of benefits to both the program designer and the user.

Object oriented approach helps in solving many problems related to software development and quality of software product.

The new technology assures greater programmer productivity, better quality of software and lesser maintenance cost.

Image of Advantages of OOP

Image of Advantages of OOP

Image of Advantages of OOP

1. Modularity for easier troubleshooting

Objects are self-contained, and each bit of functionality does its own thing while leaving the other bits alone. Also, this modality allows an IT team to work on multiple objects simultaneously while minimizing the chance that one person might duplicate someone else’s functionality.

2. Reuse of code through inheritance

Suppose that in addition to your Car object, one colleague needs a RaceCar object, and another needs a Limousine object. Everyone builds their objects separately but discover commonalities between them. In fact, each object is really just a different kind of Car. This is where the inheritance technique saves time: Create one generic class (Car), and then define the subclasses (RaceCar and Limousine) that are to inherit the generic class’s traits.

3. Flexibility through polymorphism

This is where object-oriented programming’s sweet polymorphism comes into play. Because a single function can shape-shift to adapt to whichever class it’s in, you could create one function in the parent Car class called “drive” — not “driveCar” or “driveRaceCar,” but just “drive.”

4. Effective problem solving

Object-oriented programming is often the most natural and pragmatic approach, once you get the hang of it. OOP languages allows you to break down your software into bite-sized problems that you then can solve — one object at a time.

6 Programming Applications of OOP

OOP has become one of the programming buzzwords today. There appears to be a great deal of excitement and interest among software programmers in using OOP.

Applications of OOP are gaining importance in many areas.

OOP has been extensively used in the development of windows and word based systems such as MS-Windows, x-Windows etc.

The promising application areas of OOP are:

  1. Multiple data structure: This is an application where the same data structure is used many times. For example a window data structure is used multiple-times in a windowing system.

  2. Data in multiple programs: This is an application where the same operations are performed on a data structure in different programs. For example, record validation in an accounting system.

The other application areas of OOP are parallel programming, simulation and modelling, AI and Expert systems, Neural Networks and CAD systems.

7 What you have learnt

In this lesson you learnt about object-oriented technology, the latest technology in the software development.

Various characteristics of OOP have been explained for the benefit of computer professionals.

The promising application areas of OOP have also been described in brief.

Sign In