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);
}
}
Re: Friday Java Quiz: Compile Or No Compile?
hell lot of new information for me. I never thought or tried on it. But i am not sure about the justification being given. How come java miss such a basic "syntax" check. Is it really this reason or there is something else we are missing to explain this code?