Created
August 29, 2013 08:13
-
-
Save steveliles/6375452 to your computer and use it in GitHub Desktop.
hello, concurrent world!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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