explain the concept of inheritance with an example?
Answer Posted / kush singh
Inheritance is a process of inheriting members and member functions of a particular class. This means one class can use the data members and functions of another similar class. This reduces efforts as similar data members or functions do not need to be declared again and again.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is purpose of applet programming?
What is the use of bufferedreader?
How many ways can you break a singleton class in java?
Can I uninstall java?
What is the significance of java packages?
What do you mean by object?
What is a "pure virtual" member function?
How do you invoke a method?
How to disable caching on back button of the browser?
What is difference between class and object in java?
Why is a constant variable important?
Do we have pointers in java?
Can a private method of a superclass be declared within a subclass?
Why is stringbuffer not immutable?
What is unicode full form?