class Employee{
String name;
public Employee(String n){
name=n;
}
}
class Manager extends Employee{
String department;
Manage(String s,String d){
super(s);
department=d;
}
}
class TestManager{
public static void main(String[] args){
Manager m1=new Manager();
Manager m2=new Manager("ZhangFan","marker");
}
}
String name;
public Employee(String n){
name=n;
}
}
class Manager extends Employee{
String department;
Manage(String s,String d){
super(s);
department=d;
}
}
class TestManager{
public static void main(String[] args){
Manager m1=new Manager();
Manager m2=new Manager("ZhangFan","marker");
}
}