如果用多态的语句来实现,应该怎样把这两条语句合并
public class Initial{
public static void main(String args[]) {
People people=new Chinese();
people.speak();
}
}
public class Initial{
public static void main(String args[]) {
People people=new Chinese();
people.speak();
}
}
2019-05-11
举报