Exception in thread "main" java.lang.NullPointerException
Exception in thread "main" java.lang.NullPointerException
at com.imooc.displaymenu.suxue.main(suxue.java:77)
我引用方法就报错 最后一行就是错误的
public void showData(int[] N,int length) {
for(int i=0;i<length;i++) {
System.out.print(N[i]+" ");
}
System.out.println();
}
77.dm.showData(a, a.length);
qq_Lostlove_03578864
相关分类