2001/01/29 (月) 21:16:47        [mirai]
public class HelloWorld {
	public static void main( String[] args ) {
		try {
			HelloWorld.runOnce(args[0]);
		} catch (ArrayIndexOutOfBoundsException e) {
			e.printStackTrace(System.out);
		}
	}
	
	static void runOnce(String word) {
		
		for (;;) {
			System.out.println(word);
		}
		
	}
}


はじめてのJavaプログラム書いた