Home > DeveloperSection > Interviews > List advantage of Inheritance in Java ?

Posted on    July-06-2015 11:51 PM

 Java Java  Inheritance 
 1 Answer(s)
  828  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    July-06-2015 11:51 PM

Re-usability : Inheritance helps derived class to use methods of base class without rewriting them
Extensibility : Extending the base class logic as per business logic of the derived class
Data hiding : Allows base class to keep some private data which can't be altered by the derived class

Don't want to miss updates? Please click the below button!

Follow MindStick