OOPs Concepts Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 34062 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 Ia672y
Related Questions
OOPs Concepts : What is difference between overloading and overriding?

What is difference between overloading and overriding?

Having same name methods with different parameters is called overloading, while having same name and....
Category: OOPs Concepts Date: 7/3/2010 1:53:22 PM
OOPs Concepts : What do you mean by Object Slicing?

What do you mean by Object Slicing?

When a derived class object is assigned to a base class, only the base class's part of content in th....
Category: OOPs Concepts Date: 10/8/2009 2:55:39 AM
OOPs Concepts : Give some examples of programming languages which support object oriented characteristics?

Give some examples of programming languages which support object oriented characteristics?

Some of the programming languages which support object oriented characteristics are ABAP, C++, Perl,....
Category: OOPs Concepts Date: 10/7/2009 6:41:12 AM
OOPs Concepts : What is object oriented programming language?

What is object oriented programming language?

Object oriented programming language allows concepts such as abstraction, modularity, encapsulation,....
Category: OOPs Concepts Date: 10/7/2009 6:35:57 AM
OOPs Concepts : What is message passing in object oriented programming?

What is message passing in object oriented programming?

Message passing is a method by which an object sends data to another object or requests other object....
Category: OOPs Concepts Date: 10/7/2009 6:30:57 AM