public static int test() {
String [] empty = new String[10];
methodname(empty);
}
public static int methodname(String[] set) {
int a = set.length // it would be 10 but is there anyway I can modify this whatever number I desire?
}
As I mentioned, I want to change the given array length w/o creating a new one. Is it possible?
+I am not suppose to import anything.