FileDocCategorySizeDatePackage
NestedIf.javaAPI DocExample282Tue Dec 12 18:58:12 GMT 2000None

NestedIf

public class NestedIf extends Object

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

	int aNumber = 3;

        if (aNumber >= 0)
            if (aNumber == 0) System.out.println("first string");
        else System.out.println("second string");
        System.out.println("third string");