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
What does i ++ mean in Java?
Why is core java important?
What is an immutable class? How to create an immutable class?
Difference between class#getinstance() and new operator ?
What is the collections api?
What is the difference between a vector & an array list?
What are wrapper classes in java?
Mention some features of java?
What is the difference between static and non-static variables in java programming?
What does bitwise or mean?
Is arraylist an object in java?
What does singleton mean in java?
What is a short in java?
What is java util function?
What is google full form?