隐式转换: 取值范围小的数据类型与取值范围大的数据类型进行运算,
会先将小的数据类型提升为大的,再运算 byte, short , char ---> int ---> long ----> float ----> double
会先将小的数据类型提升为大的,再运算
byte, short , char ---> int ---> long ----> float ----> double
强制转换: 如果超出了被赋值的数据类型的取值范围得到的结果会与你期望的结果不同,需进行强制转换
固定的格式: 目标数据类型 变量名 = (目标数据类型)(待转换的数据) ;