Page 1 of 1

About Question enthuware.ocajp.i.v7.2.975 :

Posted: Sat Apr 16, 2016 7:59 am
by levijatanus
Declaration of an instance variable of class Object will stay uninitialized - null. Isn't this correct answer as well ?

Re: About Question enthuware.ocajp.i.v7.2.975 :

Posted: Sat Apr 16, 2016 8:54 am
by admin
No, all instance and static reference variables are initialized to null and null is a valid initialization value. In other words, if a reference variable is set to null, you cannot say that it is uninitialized.

HTH,
Paul.