}
}
}
public class SaleTicket {
public static void main(String args[]){
Ticket ticket = new Ticket();
Thread thread1 = new Thread(ticket),
thread2 = new Thread(ticket),
thread3 = new Thread(ticket),
thread4 = new Thread(ticket);
thread1.start();
thread2.start();
thread3.start();
thread4.start();
}
}