public interface TeacherManage {
public void setPay(double pay);
public double getPay();
public void setPay(double pay);
public double getPay();
}
public interface StudentMange {
public void setFee(double fee);
public double getFee();
}
public class Graduate implements StudentMange, TeacherManage {
String name,sex;
int age;
double fee,pay;
public Graduate(String name,String sex,int age,double fee,double pay)
{
this.name=name;
this.sex=sex;
th