package Practice.School; public class student extends human implements doWork{ private String School; private double GPA; public student(String name, int age, String school, double GPA){ super(name, age, "Student"); this.School = school; this.GPA = GPA; } public void sayHello(){//Override System.out.print("From Student"); } public void doWork() { System.out.println("I am doing work"); } @Override public void doWork(String WorkType) { System.out.println("I am doing " + WorkType); } public void rest() { System.out.println("I am resting"); } public void getGPA(){ System.out.println("My GPA is " + GPA); } }