Forums Java Help What is meant by Inheritance and what are its advantages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7162
    Aakanksha
    Participant

    What is meant by Inheritance and what are its advantages?

    #11854
    Aakanksha
    Participant

    Inheritance is the process of inheriting all the features from a class. The advantages of inheritance are re usability of code and accessibility of variables and methods of the super class by subclasses.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.