edu.trinity.cs.bmassing.threads
Class Hello2

java.lang.Object
  extended by edu.trinity.cs.bmassing.threads.Hello2

public class Hello2
extends java.lang.Object

Multithreaded "hello world" program, version 2. Creates threads using static inner class. This allows creating each thread with thread-specific information (myID here). Command-line argument specifies number of threads.


Constructor Summary
Hello2()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hello2

public Hello2()
Method Detail

main

public static void main(java.lang.String[] args)