Java Program To Implement Single Inheritance Code