日期:2014-05-20 浏览次数:20572 次
class UnresponsiveUI { private volatile double d = 1; public UnresponsiveUI() throws Exception { while(d > 0) { d = d + (Math.PI + Math.E) / d; System.in.read(); System.out.println(d); } } } public static void main(String[] args) throws Exception { new UnresponsiveUI(); // Must kill this process //new ResponsiveUI(); //System.in.read(); //System.out.println(d); } }