public class Dd
{
public static void main(String[] args)
{
xx x = new xx();
try
{
x.wait();
}
catch(Exception e)
{}
System.out.println(" main over ");
}
}
class xx
{}
...全文
1274打赏收藏
这个线程为什么没阻塞
public class Dd { public static void main(String[] args) { xx x = new xx(); try { x.wait(); } catch(Exception e) {} System.out.println(" main over "); } } class xx {}