new int时间:2023-03-09 13:10:21 new int, 在申请内存,定义int变量;new int (100),在申请内存,定义int变量,并初始化为100;new int[100] , 在申请内存,定义int数组变量。