explain the concept of inheritance with an example?
Answer Posted / ackrao
Deriving the properties of one class in to another class is called as inheritance.
Existing class is base class and new class is derived class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does arrays sort do in java?
What is the difference between instanceof and isinstance?
Why declare Main() method as a static in java ?
What is the different between get and post?
What is finalize method?
What do you understand by final value?
What is the difference between final, finally and finalize() in java?
How do you differentiate abstract class from interface?
What is an i/o filter?
What are the important features of Java 9 release?
How do I enable java in safari?
What is operator overloading. Is it is supported in java?
Differentiate storage classes on the basis of their scope?
What is ++ a in java?
'A class is a template for an object' explain this statement.