explain the concept of inheritance with an example?
Answer Posted / kk
Inheritance is the process of extending the properties of super class to sub class(methods and variables) if required overriding the properties(methods)
eg...
child having(extended) the Characters(Behavior) of father.
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is linkedlist in java?
What is type parameter in java?
why not override thread to make a runnable? : Java thread
what is the difference between future and callable interface in java?
How will you serialize a singleton class without violating singleton pattern?
How to create a thread in java?
what is interface in java? Explain
Can constructor be protected in java?
What is the base class in java from which all classes are derived?
What is byte data type?
What is a java list?
What is floating data type?
What is final keyword in java? Give an example.
How do you create a reference in java?
Why do we need autoboxing in java?