Skip to content

Instantly share code, notes, and snippets.

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