explain the concept of inheritance with an example?
Answer Posted / shekar
Inheritence is the process by which one object acquires the
properties of another object. by using the extends keyword.
Adv:
It is easier to reuse code
| Is This Answer Correct ? | 40 Yes | 5 No |
Post New Answer View All Answers
What is a programming object?
What is jee6?
Is linked list a linear or non-linear data structure?
Is hashset sorted in java?
Is java same as core java?
Explain java coding standards for methods?
What is the importance of hashcode() and equals() methods?
How does thread synchronization occurs inside a monitor?
Explain the term virtual machine?
Why string is immutable with example?
Why is a constant variable important?
What does int argc char * argv [] mean?
What is array initialization in java?
Explain thread life cycle in java?
Can we sort arraylist in java?