How do I assign values to string variables in loop from the following loop in java
for (int i = 0; i < lengthDim; i++) {
String test[i]= application[i].getName();
}
So if i have 10 names being returned in above loop i should have those avaiable in variables named test0 to test9
Start Free Trial