About Question com.enthuware.ets.scjp.v6.2.534 :
Posted: Sun Jan 25, 2015 10:23 am
This question contains the following piece of code:
float f = 1.23f;
...
f = null;
...
Not to be offensive, but if I copy paste those two lines into any java IDE, you will get a compiler error - the 'float' variable can not be assigned a null value. An error in the question?
float f = 1.23f;
...
f = null;
...
Not to be offensive, but if I copy paste those two lines into any java IDE, you will get a compiler error - the 'float' variable can not be assigned a null value. An error in the question?