package test;public class TestArray {
public static void main(String[] args) {
int[] a = new int[5];
int aLength = a.length;
String[] b = new String[aLength];
for (int i = 0; i < 5; i++) {
a[i] = i;
}
for (int j = 0; j < aLength; j++) {
b[j] = "" + a[j];
//test b[j] type
String c = b[j];
System.out.println(c);
}
}
}
public static void main(String[] args) {
int[] a = new int[5];
int aLength = a.length;
String[] b = new String[aLength];
for (int i = 0; i < 5; i++) {
a[i] = i;
}
for (int j = 0; j < aLength; j++) {
b[j] = "" + a[j];
//test b[j] type
String c = b[j];
System.out.println(c);
}
}
}
String[] strTo = new String[iTo.length];
for(int i=0;i<iTo.length;i++){
strTo[i] = Integer.toString(iTo[i]);
//Float.toString(float f)
//Double.toString(double f) ....
}
return strTo;
}