OOPs Concepts Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 35980 Page Views: 

What are the advantages of OOPs?

Posted By: Avi Date: 12 September 2009 07:51:12 PM

The major advantages of OOPs are:

1. Simplicity:
Software objects model real world objects, so the complexity is reduced and the program structure is very clear.

2. Modularity:
Each object forms a separate entity whose internal workings are decoupled from other parts of the system.

3. Modifiability:
It is easy to make minor changes in the data representation or the procedures in an OO program. Changes inside a class do not affect any other part of a program, since the only public interface that the external world has to a class is through the use of methods.

4. Extensibility:
Adding new features or responding to changing operating environments can be solved by introducing a few new objects and modifying some existing ones.

5. Maintainability:
Objects can be maintained separately, making locating and fixing problems easier.

6. Re-usability:
Objects can be reused in different programs.

Posted By: eTechPlanet

Date: 12 September 2009 07:51:12 PM

portable:java is portable why because java programs are executed at any operating systems.the program will understand identically at any where

Posted By: kiran

Date: 15 September 2009 09:09:16 AM

Advantages of OOP :

Object-Oriented Programming has the following advantages over conventional approaches:

* OOP provides a clear modular structure for programs which makes it good for defining abstract datatypes where implementation details are hidden and the unit has a clearly defined interface.
* OOP makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones.
* OOP provides a good framework for code libraries where supplied software components can be easily adapted and modified by the programmer. This is particularly useful for developing graphical user interfaces.

Posted By: Johndecruse

Date: 4 February 2010 01:01:09 AM
Post a better Answer if you have
(Will show your Gravatar icon)  
  Country flag

Enter the text as shown in the image 88cCQI
Related Questions
OOPs Concepts : What is Inheritance?

What is Inheritance?

In OOPs terminology, inheritance is a way to form new classes using classes that have already been d....
Category: OOPs Concepts Date: 8/29/2009 6:52:23 PM
OOPs Concepts : What is Abstraction?

What is Abstraction?

Abstraction is the process of generalization by reducing the information content of an entity, typic....
Category: OOPs Concepts Date: 8/29/2009 6:45:58 PM
OOPs Concepts : What is Encapsulation?

What is Encapsulation?

In OOPs terminology, Encapsulation refers to encapsulating data with the methods that operates on th....
Category: OOPs Concepts Date: 8/29/2009 6:25:10 PM
OOPs Concepts : What is an Object?

What is an Object?

Instances of classes are called as objects. The class of Employee defines all possible employees by....
Category: OOPs Concepts Date: 8/29/2009 8:07:26 AM
OOPs Concepts : What is a Class?

What is a Class?

Classes defines a template or blue-print for an entity. It defines the characteristics (attributes o....
Category: OOPs Concepts Date: 8/29/2009 8:02:21 AM