Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the advantages of inheritance?

Answers were Sorted based on User's Feedback



What are the advantages of inheritance?..

Answer / sidhi.r

In OOPs, the concept of inheritance provides the idea of
reusability. This means that we can add additional features
to an existing class without modifying it.
This is possible by deriving a new class from the existing
one. The new class will have combined features of both the
classes.

Is This Answer Correct ?    213 Yes 35 No

What are the advantages of inheritance?..

Answer / hamid

Features or Advantages of Inheritance:

---Reusability:

Inheritance helps the code to be reused in many
situations. The base class is defined and once it is
compiled, it need not be reworked. Using the concept of
inheritance, the programmer can create as many derived
classes from the base class as needed while adding specific
features to each derived class as needed.

---Saves Time and Effort:

The above concept of reusability achieved by inheritance
saves the programmer time and effort. Since the main code
written can be reused in various situations as needed.

---Increases Program Structure which results in greater
reliability.

www.hamidraza.page.tl

Is This Answer Correct ?    121 Yes 12 No

What are the advantages of inheritance?..

Answer / awais zahur

inheritance has two main advantages:
1.extendability
we can extend the already made classes by adding some new
features.
2.maintainability
it is easy to debug a program when divided in parts.
inheritance provides an opportunity to capture the problem

Is This Answer Correct ?    80 Yes 14 No

What are the advantages of inheritance?..

Answer / shiavni

inheritance is a process by which object of one class
acquire the properties from the object of another class.
the major advantage of inheritance is reusability which
means that we can add additional feauters into an existing
class without modifying it. this is possible by deriving a
new class from an existing one. i.e. creating new class
called derived class from an existing or created earlier
class called base class. the derived class will have the
combined features of both the classes.

Is This Answer Correct ?    56 Yes 17 No

What are the advantages of inheritance?..

Answer / miss.purvi mota

using inheritance we can increase the reusability.As we can
use that functions whish we have maid earlier

Is This Answer Correct ?    69 Yes 38 No

What are the advantages of inheritance?..

Answer / shantanu

Anything that has state,behaviour,responsibilty and
identity is called an object.Getting the state and
behaviour of one, is called as inheritance.
Inheritance is the process of creating new class called as
derioved class from the existing one called as base class.
The derived class inherits all capability of base class or
add totally new feature of its own.

Is This Answer Correct ?    51 Yes 21 No

What are the advantages of inheritance?..

Answer / murugesan.s

There are two main advantage...!

1.Maintainability-> Easy to identify the error.

2.Reusability.

Is This Answer Correct ?    33 Yes 6 No

What are the advantages of inheritance?..

Answer / axuu

Inheritance offers the following advantages --

Developement model closer to real life object model with
hierarchical relationships
Reusability -- facility to use public methods of base class
without rewriting the same
Extensibility -- extending the base class logic as per
business logic of the derived class
Data hiding -- base class can decide to keep some data
private so that it cannot be altered by the derived class

Is This Answer Correct ?    32 Yes 8 No

What are the advantages of inheritance?..

Answer / masokis

1. reusability
2. maintainability
3. extensibility
4. realibility

it's the basic part :)

Is This Answer Correct ?    16 Yes 1 No

What are the advantages of inheritance?..

Answer / k.kirankumar

1.reusability(that is we can use same code in different
versions(class etc..)
2.avoids tyoing of code again and again(code compatability)
3.cost(in sense their no need compile same code for many
number times regardless of its usage)
4.maintance is very because the in inheritance formart is
in the modules so that it is easy to find the errors in
the small module instead of finding errors in many no.of
lines at time
5.the bove feature will reduce testing effort.

Is This Answer Correct ?    11 Yes 2 No

Post New Answer

More OOPS Interview Questions

What is deep and shalow copy?

3 Answers   L&T, TCS,


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


what is multi level inheritance give n example ?

13 Answers   HDFC, Hulas Steel, Ness Technologies,


Why is polymorphism needed?

0 Answers  


What is a class?

32 Answers   Infosys, TCS, Thylak,


What is difference between abstraction and encapsulation?

0 Answers  


Write 7 differences between "Public" function and "Private" function?

2 Answers   IBM, Wipro,


What is difference between oop and pop?

0 Answers  


what is pointers

7 Answers   Exilant,


what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.

2 Answers   Excel,


What is R T T I ?

6 Answers   Ness Technologies,


There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 Answers  


Categories