How to fix “The code of method .. is exceeding the 65535 bytes limit”?

后端 未结 8 982
执念已碎
执念已碎 2020-12-14 15:36

I have the following code:

public static void main(String[] args) {
    try {
        String[] studentnames = {
            /* this is an array of 9000 strin         


        
8条回答
  •  难免孤独
    2020-12-14 15:51

    Just externalize Strings from your code to one *.properties / xml / json file. Netbeans and/or Eclipse can do it for you easly.

提交回复
热议问题