Java中的Object类是所有类的父类,它提供了以下11个方法: public final native Class<?> getClass() public native int hashCode() public boolean equals(Object obj) protected native Object clone() throws CloneNotSupportedException public String toString() public final native v…