This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
On line 1 a reference of type java.lang.Object called 'a' is declared is not assigned (and cannot be used unless it is "definitely assigned" otherwise a compile-time error results). On line 2 a reference of type java.lang.Object called 'b' is declared and is assigned to the special value null.
in line 1 Object a; will not autmatically assinged null by default as written in K&B he is saying compile time error will result ? why ???
is object a==b ? if they are instance member ?
is it right that object a will give compile time error if its declared in local block and not as a memeber