Created
March 23, 2017 14:17
-
-
Save rokon12/a00f4d0d4b2b22c2b502bf10c70926f0 to your computer and use it in GitHub Desktop.
This file contains 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
package threads; | |
public class MyRunnableDemo { | |
public static void main(String[] args) { | |
MyRunnable myRunnable = new MyRunnable(); | |
Thread t1 = new Thread(myRunnable); | |
t1.start(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment