1, define an integer array.
1
int[]arr = new int[3]; //Defines an integer array of length 3.
2, splicing into a string
1
2
three
four
String s =
for(int I = 0; I < array length; i++){
s = s+arr[I]; //spliced into a string, and finally put the variable S.
}