package controller;
import java.util.Arrays;
public class DoubleArray {
public static void main(String[] args) {
String[][] str = {{"1", "2"}, {"3", "4", "5"}, {"6"}, {"7", "0"}};
System.out.println("str = " + str);
System.out.println("");
System.out.println("Arrays.toString(str) = " + Arrays.toString(str));
for (String[] s : str) {
System.out.println("");
for (String x : s) {
System.out.println("x = " + x);
}
System.out.println("s = " + s);
System.out.println("Arrays.toString(s) = " + Arrays.toString(s));
}
}
}