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 happens when you add a double value to a string?
What are namespaces in java?
How to split arraylist elements in java?
What are the important features of Java 8 release?
What is the best definition for data?
What is the static field modifier?
How can we pass argument to a function by reference instead of pass by value?
What do you mean by Function Overloading in java?
What is empty list in java?
Where are the local variables stored?
What are the different types of sorting in java?
What is the purpose of the enableevents() method?
Explain jvm, jre, and jdk?
How do you override a method in java?
What are the major advantages of internal iteration over external iteration?