Sub Class « Class « Java






1.Subclass definitionSubclass definition
2.This program demonstrates inheritance