注:整数相除只能得到整数,只有浮点数参与相除才能得到小数。如:6.0/4 = 1.5
如下图:字符的值是按ASC值进行想加的;
注:算术表达式中包含多个基本数据类型的值的时候,整个算术表达式的类型会被自动提升。