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 remote method invocation (rmi)?
Which programming language is most secure?
How does multithreading take place on a computer with a single cpu?
What is the function of character?
How big is a pointer?
What super () does in java?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
Can a class extends itself in java?
How many characters is 2 bytes?
What are multiple inheritances?
What do you mean by data type?
What is a website container?
What is the full name of java?
What is a qualifier in a sentence?
What are jee technologies?