FileDocCategorySizeDatePackage
NullStaticMethod.javaAPI DocExample381Sun Feb 22 20:32:36 GMT 2004None

NullStaticMethod

public class NullStaticMethod extends Object
Test if you can use a null reference to find a static method.
author
Ian F. Darwin, http://www.darwinsys.com/
version
$Id: NullStaticMethod.java,v 1.3 2004/02/23 02:32:36 ian Exp $

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

		System.out.println("XXX ");
		NullStaticMethod2 x = null;
		x.invoke();			// EXPECT COMPILE WARNING