The following assignment would work
float a=3;
But the following won't :
Float a=3;
Shouldn't 3 be automatically promoted to float (as widening conversions don't require an explicit cast) and then Boxed to Float type ?
Is it because of a rule I read in Khalid Mogul's Java book ?
Widening conversions can't be followed by any boxing conversions