- SaleTicket st=new SaleTicket();
- new Thread(st).start();
- new Thread(st).start();
- new Thread(st).start();
- new Thread(st).start();
复制代码- new Thread(new SaleTicket()).start();
- new Thread(new SaleTicket()).start();
- new Thread(new SaleTicket()).start();
- new Thread(new SaleTicket()).start();
复制代码 这两个有什么区别? |
|