byte(8位)→short(16位)→int(32位)→long(64位)→float(32位)→double(64位) char(16位)→ 定义long时要在后面加L,定义float要在后面加F,系统默认是int和double。