In Java, there is a concept of Inheritance which is implemented through a
super class and subclass definition and achieved
through the object creation process, programmatically.
-- Through inheritance developers organize and structure the software program in an hierarchical manner through the concept of super class and subclass.
-- Sub classes allows to achieve the run time polymorphism in java.
Read more at :
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial
Discuss: Sub-class in java
Post your Comment