What are the advantages of inheritance?
Answer Posted / 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 |
Post New Answer View All Answers
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is overloading in oop?
What does it mean when someone says I oop?
What is inheritance write a program to show use of inheritance?
What is abstraction in oops?
What are properties in oop?
what are the different types of qualifier in java?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
How oops is better than procedural?
What does and I oop mean in text?
What is persistence in oop?
How do you achieve polymorphism?
What is class and object in oops?
#include
What is use of overloading?