【发布时间】:2019-10-24 14:47:48
【问题描述】:
由于某种原因,我收到了这个错误,此时我很困惑。 我该如何解决这个问题?
public static void main(String[] args) throws FileNotFoundException {
Memory myMemory = new Memory();
File file = new File(args[0]);
myMemory.fileParser(file);
}
这是我的错误:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at Memory.main(Memory.java:262)
【问题讨论】:
标签: java