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
Explain the importance of finally over return statement?
How destructors are defined in java?
How will you invoke any external process in java?
What are some examples of variable costs?
What is the static method?
What is the covariant return type?
What is difference between static and final?
What is an iterator java?
What is data object example?
What is instance means in java?
What are different type of exceptions in java?
What are heterogeneous objects?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
Why do we need array in java?
What are the two ways to create a thread?