Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class IMyThread implements Runnable{
- public void run(){
- System.out.println("IThread RUN");
- }
- }
- public class IMySimpleThread {
- public static void main(String args[]){
- System.out.println("Thread MAIN");
- Thread t1=new Thread(new IMyThread());
- t1.start();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement