accept[COUNT]这里报Multiple markers at this line
- Debug Current Instruction Pointer
- Null pointer access: The variable accept can only be null at this
- 原因是前面声明accept数组的时候没有给它分配空间,应该写成 int[] accept=new int[7];
- int[] accept=null;空指针异常
- 原因是java中基本类型的值不能为null;
- java 8个基本类型:int,float,double,short,long,char,Boolean,byte
数组空指针异常
最新推荐文章于 2023-08-23 21:30:41 发布