1.防止序列化时保存的关键字
2.Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds. The thread does not lose ownership of any monitors.
3.Thread.sleep(TEN_SECONDS);//是指当前线程,在这里就是main线程,因此calculator.start();会继续执行
2.Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds. The thread does not lose ownership of any monitors.
3.Thread.sleep(TEN_SECONDS);//是指当前线程,在这里就是main线程,因此calculator.start();会继续执行
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货