Object中的方法(知道用法即可)

MainTs sd=null;
sd.clone();
sd.equals(arg0);使用==比较对象引用地址
sd.finalize();
sd.getClass();
sd.hashCode();返回代表内存地址的int型整数
sd.notify();
sd.notifyAll();
sd.toString();返回对象的类名@十六进制hashcode
sd.wait();
sd.wait(arg0);
sd.wait(arg0, arg1);

posted @ 2017-08-01 13:48  新生的小心情  阅读(133)  评论(0编辑  收藏  举报