<< August 9, 2007 | Home | August 11, 2007 >>

Friday Java Quiz: What Is Integer.TYPE?

Of course you know what Integer.TYPE is. Now fill in the blank in the following class:

public class Foo {
  public static void main(String[] args) {
    System.out.println(________ == Integer.TYPE);
  }
}
with something other than Integer.TYPE so that the program will print "true" when compiled and run.

Tags :