Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @param args
- */
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- HilosVarios hilo1 = new HilosVarios();
- HilosVarios2 hilo2 = new HilosVarios2(hilo1);
- hilo1.start();
- hilo2.start();
- System.out.println("Terminadas las tareas");
- }
Add Comment
Please, Sign In to add comment