A super class Account contains employees details and a sub class Simple calculates the employee's simple interest. The details of the two classes are given below:

Assume that the super class Account has been defined. Using the concept of inheritance, specify the class simple giving details of constructor, void calculate() and void display().The super class and the main() function need not be written.