Skip to content

Instantly share code, notes, and snippets.

@oscarryz
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oscarryz/65013ac4e9573c2d4132 to your computer and use it in GitHub Desktop.
Save oscarryz/65013ac4e9573c2d4132 to your computer and use it in GitHub Desktop.
class Some class Some {
public static void main( String ... args ) throws InterruptedException {
Thread.sleep(1000);
new Thread( () -> {
try {
Some.main();
} catch ( InterruptedException e ) {
throw new RuntimeException();
}
}).start();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment