Advertisement
LEANDRONIEVA

PC_Tp5_Punto2Main

Oct 14th, 2023
759
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 KB | None | 0 0
  1. import javax.lang.model.element.Element;
  2.  
  3. public class Punto2 {
  4.  
  5.     public static void main(String[] args) {
  6.         // TODO Auto-generated method stub
  7.         Mostrador<Element> m = new Mostrador<Element>();
  8.  
  9.         while(true) {
  10.             Cliente cliente = new Cliente(m);
  11.             Factura factura = new Factura(m);
  12.             Bizcocho bizcocho = new Bizcocho(m);
  13.            
  14.             cliente.start();
  15.             factura.start();
  16.             bizcocho.start();
  17.         }
  18.     }
  19.  
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement