16 lines
432 B
Java
16 lines
432 B
Java
// concurrency/MainThread.java
|
|
// (c)2016 MindView LLC: see Copyright.txt
|
|
// We make no guarantees that this code is fit for any purpose.
|
|
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
|
|
|
|
public class MainThread {
|
|
public static void main(String[] args) {
|
|
LiftOff launch = new LiftOff();
|
|
launch.run();
|
|
}
|
|
}
|
|
/* Output:
|
|
#0(9), #0(8), #0(7), #0(6), #0(5), #0(4), #0(3), #0(2),
|
|
#0(1), #0(Liftoff!),
|
|
*/
|