摘要:
+ 加法运算 - 减法 * 乘法 / 除法, 是求两个整数相除的余数. % 取模, 是求两个整数相除的余数. ++ 自加 -- 自减 += 加法赋值 -= 减法赋值 *= 乘法赋值 /= 除法赋值 %= 取模赋值 阅读全文
摘要:
八大数据类型 整型 1• byte, 占1个字节, 8位. 2• short, 占2个字节,16位. 3• int, 占4个字节,32位. 4• long, 占64个字节; 8位. 字符型 5• char, 占1个字节, 8位. 浮点型 6• float, 占float 4个字节,单精度. 7• d 阅读全文