Skip to content

Instantly share code, notes, and snippets.

@rokon12
Created March 23, 2017 14:17
Show Gist options
  • Save rokon12/a00f4d0d4b2b22c2b502bf10c70926f0 to your computer and use it in GitHub Desktop.
Save rokon12/a00f4d0d4b2b22c2b502bf10c70926f0 to your computer and use it in GitHub Desktop.
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