Skip to content

Instantly share code, notes, and snippets.

@steveliles
Created August 29, 2013 08:24
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 steveliles/6375549 to your computer and use it in GitHub Desktop.
Save steveliles/6375549 to your computer and use it in GitHub Desktop.
hello again, concurrent world!
package concurrency.part1.ch1;
public class Example2 {
public static void main(String[] args)
throws Exception {
Runnable _r = new Runnable() {
public void run() {
System.out.println("Hello again, concurrent world!");
}
};
new Thread(_r).start();
System.in.read();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment