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