Java基本数据类型8个,类型转换时注意存储空间大小变化引起的数据精度丢失。 学习资料:https://blog.csdn.net/csdnnews/article/details/10273950 5