LIST ADVANTAGE OF INHERITANCE IN JAVA ?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
 904  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    List advantage of Inheritance in Java ?

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!