publicclassTest05{
publicstaticvoidmain(String[] args){
Father f =newFather();Son s =newSon();System.out.println(f.getInfo());System.out.println(s.getInfo());
s.test();System.out.println("-----------------");
s.setInfo("大硅谷");System.out.println(f.getInfo());System.out.println(s.getInfo());
s.test()