Created
June 5, 2013 08:27
-
-
Save yujuwon/5712434 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class TestThread1 implements Runnable{ | |
| // implement | |
| public void run(){ | |
| System.out.println("Start Test1 Thread"); | |
| } | |
| } | |
| public class TestThread2 extends Thread{ | |
| // override | |
| public void run(){ | |
| System.out.println("Start Test2 Thread"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment