what is the basic concept of inheritance?

Answer Posted / ashwini bhusari

the concept behind the inheritance is that we can create a
object of another class and getting all the characteristics
of the base class.the class who get characteristic is
called derived class because it is deriving from the base
class.the class from which class is derived is called base
class.so, we can create another class from the existing
one.this is the greatest advantage.

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop with example?

877


What is the full form of oops?

936


What is multilevel inheritance in oop?

786


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2298


What is the difference between encapsulation and polymorphism?

860


What is oops and its features?

840


Plese get me a perfect C++ program for railway/airway reservation with all details.

3678


Where is pseudocode used?

764


What is the real life example of polymorphism?

869


What is ambiguity in inheritance?

871


Why do we use oops?

781


What is encapsulation selenium?

775


What are the benefits of interface?

820


What is protected in oop?

825


What is pointer in oop?

747