The widening conversion is permitted in the following cases:byte to short, int, long, float, or doubleShort to int, long, float, or doublechar to int, long, float, or doubleint to long, float, or doublelong to float or doublefloat to double