explain the concept of inheritance with an example?
Answer Posted / dsr
The base class properties into derived class. This is nown
as inheritance.
example: father and child relation. father properties power
get the child.
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
How infinite loop is declared?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What do you mean by aggregation?
Is class is a data type?
What are different types of arrays?
what is collatration?
Can a private method be declared as static?
What are heap memory and stack memory and what are memory tables.
What are different types of multitasking?
How to do a true java ping from windows?
What do you understand by the term string pool?
What are the benefits of java?
How can you set the applet size?
What do you understand by copy constructor in java?
What is the difference between static and non-static variables in java programming?