Object o=new String();//""
String str=new String();
System.out.println(o==str);//false
System.out.println(o.equals(str));//true
Father f=new Son();
Son s=new Son();
System.out.println(f.equals(s));
为什么自写的父类和子类对象之间比较为false