FileDocCategorySizeDatePackage
LoopFor.javaAPI DocExample314Sun Feb 22 20:26:56 GMT 2004None

LoopFor

public class LoopFor extends Object
Compile this program and dump the compiled bytecode with "javap -c" or equivalent; you will be enlightened as to the true nature of while loops compared to for loops.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

		 	for (int i=0; i<10; i++) {
		 				System.out.println(i);
			}