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

What are the advantages of OOPs?



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

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

Loading
Enter the text as shown in the image bA33pC
Related Questions
OOPs Concepts : What is Method Overloading?

What is Method Overloading?

Method overloading is the ability to define several methods all with the same name.
Category: OOPs Concepts Date: 8/29/2009 9:07:19 PM
OOPs Concepts : What is Aggregation?

What is Aggregation?

Aggregation is a special form of association. Aggregation is the composition of an object out of a s....
Category: OOPs Concepts Date: 8/29/2009 9:03:49 PM
OOPs Concepts : What is Association?

What is Association?

Association defines a relationship between different objects of different classes which allows one o....
Category: OOPs Concepts Date: 8/29/2009 8:55:57 PM
OOPs Concepts : What is the Difference between Class and Object?

What is the Difference between Class and Object?

A Class is actually a blueprint or a template to create an Object. Whereas an Object is a an actual ....
Category: OOPs Concepts Date: 8/29/2009 8:41:21 PM
OOPs Concepts : What is Polymorphism?

What is Polymorphism?

Polymorphism is an ability to appear in many forms. It refers to the ability of the system to call c....
Category: OOPs Concepts Date: 8/29/2009 7:03:57 PM