Created
August 29, 2013 08:24
-
-
Save steveliles/6375549 to your computer and use it in GitHub Desktop.
hello again, 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 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