//八大基本数据类型
//整数
int num1 = 10; //最常用
byte num2 = 20;
short num3 = 30000;
long num4 =300000000000l; //long类型要做后面加个l
//小数:浮点数
float num5 = 40.2f; //float类型要做后面加个f
double num6 = 50.6;
//字符
char name = '5';
//字符串 String不是关键字,是类
//String master="dashi";
//布尔值: 是 非
boolean ture = true;
boolean fals = false;