Guest User

Untitled

a guest
Oct 27th, 2015
26
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package me.BlinG.Code;
  2.  
  3. public class JavaLessonSeventeen {
  4.  
  5. public static void main(String[] args) {
  6.  
  7. Thread getTime = new GetTime20();
  8.  
  9. Runnable getMail = new GetTheMail(10);
  10.  
  11. Runnable getMailAgain = new GetTheMail(20);
  12.  
  13. getTime.start();
  14.  
  15. new Thread(getMail).start();
  16. new Thread(getMailAgain).start();
  17. }
  18.  
  19. }
RAW Paste Data