i defined some final String arrays and initial them at another place, now i want to make it easier to traverse them, so maybe i need to put them in a final String[][] ,
private static final String[] a,b,c,d;
private static final String[][] all = {a,b,c,d};
but it give me errors
The blank final field a may not have been initialized
now i know the final variable should be assigned before used but i have no idea to solve my problem, is there any way to traverse a,b,c,d easier than the following code?
for(String s : a){};
for(String s : b){};
...
BTW i want to assign by traversing them