如何修复“方法的代码..是否超过了 65535 字节限制“?
2022-09-01 09:41:59
我有以下代码:
public static void main(String[] args) {
try {
String[] studentnames = {
/* this is an array of 9000 strings... */
};
}
}
尝试编译此文件时,我收到以下错误:
The code of method main(String[]) is exceeding the 65535 bytes limit