<< October 2, 2008 | Home | October 4, 2008 >>

Friday Java Quiz: Compile Or No Compile?

Q: Compile, or no compile?

public class Foo {
  public static void main(String[] args) {
    Integer Object = new Integer(1024);
    Object Integer = Object;
    System.out.println(Integer);
  }
}
Tags :