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 the synonym of procedure?
What does java edition mean?
What is the purpose of interface?
Is vector ordered in java?
Can an unreferenced object be referenced again?
explain different ways of using thread? : Java thread
What steps are taken when the OS shifts from one-thread execution to another?
What is the difference between superclass and subclass?
What is difference between variable declaration and definition?
What are default methods ?
What is array pointers ?
Explain access specifiers?
What is arraylist e?
What does ide stand for?
What is the meaning of course?