FileDocCategorySizeDatePackage
InitializersDemo.javaAPI DocExample500Sat Nov 25 12:54:14 GMT 2000None

InitializersDemo

public class InitializersDemo extends Object

Fields Summary
public Object
o
public int
i
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] av)

		Object mo;
		int mi;
		InitializersDemo t = new InitializersDemo();
		if (t.o == null)
			System.out.println("o is null");
		if (t.i == 0)
			System.out.println("i is zero");
		if (mo == null)		// EXPECT COMPILE ERROR
			System.out.println("mo is null");
		if (mi == 0)		// EXPECT COMPILE ERROR
			System.out.println("mi is zero");