explain the concept of inheritance with an example?
Answer Posted / chintan
Inheritance is the process by which new classes called
derived classes are created from existing classes called
base classes. The derived classes have all the features of
the base class and the programmer can choose to add new
features specific to the newly created derived class.
| Is This Answer Correct ? | 20 Yes | 6 No |
Post New Answer View All Answers
What is complexity in java?
Explain the overview of UDP messaging.
What is finally in Java?
What are different types of states exist for a thread?
What is difference between static and final?
What is the disadvantage of java?
What is the difference between a vector & an array list?
Is it safe to install java on my computer?
What is a protected void?
What is a linkedhashmap java?
Can we use this () and super () in a method?
Is main a keyword in java?
Where is jre installed?
What is methodological theory?
Why map is used in java?