public class baoguo{
//包裹类型 /的第一个字母也是大写的 new =创建
public static void main(String[]args){
//基础类型 包裹类型
// boolean Boolean
// char Character
// int Integer
// double Double
// MAX_VALUE 获得该类型的最大值和最小值
int a =10;
Integer b =10;
b = a;
System.out.println(Integer.MIN_VALUE);
//. 运算符 点号运算符
//当需要一个让一个类或对象做事情的时候,用运算符
//a.length
//Integer.MIN_VALUE
System.out.println(Character.isDigit(‘2’));
//判断是否是字符 更多句式参考桌面图片资料
//字符串变量 mew创建
// String s;
//String是一个类,String的变量是对象的管理者而非所有者
//就像数组变量是数组的管理者而非所有者一样
// String s = new String(“a string”);
//创建了一个String的对象
//用"a string " c初始化这个对象
//创建管理这个对象的变量s 让s管理这个对象
//初始化字符串变量
//String s =“hello”;
// 编译器帮你创建一个String类的对象交给s来管理
//字符串连接
//用+可以连接2个字符串
String s = new String(“Hello”);
System.out.println(s+(12+24));
}
}