GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 240 of 258    Print  
Explain the advantages of OOPs with the examples.

  
Total Answers and Comments: 7 Last Update: December 24, 2008     Asked by: Bir Bahadur Karki 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Ranjit
 

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.


Above answer was rated as good by the following members:
nagasrinukadali
November 15, 2006 04:18:15   #1  
madhusudhanreddy.thotli        

RE: Explain the advantages of OOPs with the examples.

Hello All

The main advantage of using OOPs is that it supports Inheritance.Inheritance is the process of acquiring the properties and methods from one entity to another entity

Regards

Madhu


 
Is this answer useful? Yes | No
November 17, 2006 03:43:34   #2  
DotNetGuts        

RE: Explain the advantages of OOPs with the examples.

OOPs Concepts comes into picture due to following reasons.

  1. Man can easily understand the concept of object and class as they are based on real-life scenario.
  2. Maintenance of project becomes easy as minor change in business rule require little modification rather than change in whole project.
  3. Reusability of Code through Inheritance.

DotNetGuts

http://www.DotNetGuts.blogspot.com


 
Is this answer useful? Yes | No
November 28, 2006 15:20:20   #3  
Ranjit Member Since: October 2005   Contribution: 18    

RE: Explain the advantages of OOPs with the examples.

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.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 1Overall Rating: -N/A-    
January 03, 2007 04:51:10   #4  
ravi        

RE: Explain the advantages of OOPs with the examples.

Advantages of OOPS

a) Robust and Secure

b) allows to Reusability

1)Inheritence

2) polymorphism

c) allows maintainability

d) allows Reusability

e) allows communication between object to object


 
Is this answer useful? Yes | No
March 20, 2007 04:28:04   #5  
sheetalkamthe        

RE: Explain the advantages of OOPs with the examples.
Inheritance is the main advantage in which one class aquires properties of another class


 
Is this answer useful? Yes | No
May 10, 2008 03:54:48   #6  
just4u4023 Member Since: May 2008   Contribution: 1    

RE: Explain the advantages of OOPs with the examples.

Well! the main advantage of OOPs is that it uses the concept of classes and object. which differs it totally from the POP. Due to uses of classes it becomes more easy to divide a large program into smaller modules which can be treated separately.
The other advantage of OOP is security. Data can be protected using access specifiers like PUBLIC PRIVATE AND PROTECTED. No outside function can access the private function.

2. the other advantage is use of inheritance. through which we can use the features of one class into another class. Mainly sub class or derived class acquire the features of parent class or base class.
the best example of inheritance is

GRANDFATHER----->>>>FATHER-------->>>>>SON
here FATHER acquires some features of GRANDFATHER and SON acquires the features of both FATHER and GRANDFATHER.

3 Polymorphism is the other advantages of OOPs which simply means one name many forms. There can be a one function which has different forms depending upon input or arguments.

4. Friend function is also another advantage which are used to access private function


 
Is this answer useful? Yes | No
December 24, 2008 06:06:37   #7  
sakthikandasamy Member Since: December 2008   Contribution: 1    

RE: Explain the advantages of OOPs with the examples.
The main use of oops is that

1.code reusability
2.program code reduction

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape