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
Why we use classes in oop?
What is the difference between abstraction and polymorphism?
Why interface is used?
What is abstraction and encapsulation?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Explain the concepts involved in Object Oriented programming.
Why do we use encapsulation in oops?
What is the difference between a constructor and a destructor?
What are the three parts of a simple empty class?
What is oops and why we use oops?
Why is polymorphism used?
What is polymorphism and example?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is a class in oop?