// Employee.java
class Employee {
    private String empID;
    private String empName;
    private double tax;

    public void setID(String id) {
        this.empID = id;
    }

    public void setName(String name) {
        this.empName = name;
    }

    public void calTax(double salary, double bonus) {
        this.tax = (salary + bonus) * 0.09;
    }

    public void showDetails() {
        System.out.println("Employee ID: " + empID);
        System.out.println("Employee Name: " + empName);
        System.out.println("Tax: " + tax);
    }
}

// Student.java
class Student {
    private String name;
    private int score;

    public void setName(String name) {
        this.name = name;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public int getScore() {
        return score;
    }
}

// GradStudent.java (Inheritance from Student)
class GradStudent extends Student {
    private String advisor;

    public void setAdvisor(String advisor) {
        this.advisor = advisor;
    }

    public void showDetail() {
        System.out.println("Name: " + getName());
        System.out.println("Score: " + getScore());
        System.out.println("Advisor: " + advisor);
    }
}

// Main class to test
public class Test {
    public static void main(String[] args) {
        // Test Employee
        Employee emp = new Employee();
        emp.setID("E001");
        emp.setName("Alice");
        emp.calTax(50000, 10000);
        emp.showDetails();
        
        System.out.println("======================");

        // Test Student
        Student stu = new Student();
        stu.setName("Bob");
        stu.setScore(85);
        System.out.println("Student Name: " + stu.getName());
        System.out.println("Student Score: " + stu.getScore());
        
        System.out.println("======================");

        // Test GradStudent
        GradStudent grad = new GradStudent();
        grad.setName("Charlie");
        grad.setScore(90);
        grad.setAdvisor("Dr. Smith");
        grad.showDetail();
    }
}
