Advertisement
progrmor

Untitled

Jun 25th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. class Multithreading implements Runnable{  
  2.   public void run(){  
  3.     runMethod();
  4.   }  
  5.   public static void main(String args[]){  
  6.      Multithreading multiThread=new Multithreading();  
  7.      Thread thread =new Thread(multiThread);  
  8.      thread.start();  
  9.  }  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement