摘要:
Object o1=new Object(); Object o2; int i1=3,i2; 浅拷贝 o2=o1;i2=i1; 深拷贝 o2=new Object();o2=o1.clone(); public void md(){ if(3>0){return;} System.out.prin 阅读全文
摘要:
public class Main { public static void main(String[] args) { Object o=new Object(); System.out.println(o+" "+o.hashCode()); }}//会输出java.lang.Object@6b 阅读全文