程序分析: class Person{ public static void print(String s){ System.out.println(s); } Person(){ print(“A Person.”); } Person(String name){ print(“A person name is :”+name); } } public class Chinese extends Person{ Chinese(){ super(); print(“A chinese.”); } Chinese(String name){ super(name); print(“his name is :”+name); } Chinese(String name,int age){ this(name); print(“his age is:+age); } public static void main(String []args){ Chinese people=new Chinese(); people=new Chinese(“”); people=new Chines(“”,20);} } 输出: