The following assignment would work
But the following won't :
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