Hi As we know that-- True,TRUE are wrapper Boolean values.
First see code: boolean b=TRUE;//line 1
Boolean b2=true; //line 2
Now my question is that as in line 2, true value (i.e. primitive value) boxed into wrapper value and then assign to wrapper variable b2.But why not in line 1,True value (that is wrapper value) unboxed to primitive value and then assign to primitive variable.
boolean b=True, or boolean b=True does not compile as it they are not recogninized by the compiler. You can try, Boolean b2=new Boolean("TRUE"); Boolean b3=new Boolean("True");
Your mind is under my control .... your will is now mine .... read this tiny ad
a bit of art, as a gift, that will fit in a stocking