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 a class in oop?

608


What is difference between multiple inheritance and multilevel inheritance?

606


Templates mean

1592


What is interface in oop?

664


What is super in oop?

601






What are constructors in oop?

598


What language is oop?

599


What is pure oop?

599


What is the difference between static polymorphism and dynamic polymorphism?

587


What do you mean by abstraction?

622


What is static modifier?

637


How do you achieve runtime polymorphism?

573


What is difference between pop and oop?

611


What does no cap mean?

593


What is the renewal class?

2171