Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class Application{
public static void main(String[]args){
Thread thread1 = new Thread(new MyRunnable());
thread1.start();
Thread thread2 = new Thread(new MyRunnable());
thread2.start();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment