List<String []>
importjava.util.*;publicclassMain{publicstaticvoidmain(String[]args){List<String[]>hi...
import java.util.*;
public class Main {
public static void main(String[] args) {
List<String []> highAdminList = null;
String[] a = {"a","s"};
String[] b = {"a","s"};
String[] c = {"a","s"};
highAdminList.add(a);
highAdminList.add(b);
highAdminList.add(c);
for (String[] string : highAdminList) {
for(int i = 0;i<string.length;i++)
{
System.out.println(string[i]);
}
}
}
} 展开
public class Main {
public static void main(String[] args) {
List<String []> highAdminList = null;
String[] a = {"a","s"};
String[] b = {"a","s"};
String[] c = {"a","s"};
highAdminList.add(a);
highAdminList.add(b);
highAdminList.add(c);
for (String[] string : highAdminList) {
for(int i = 0;i<string.length;i++)
{
System.out.println(string[i]);
}
}
}
} 展开
1个回答
展开全部
import java.util.*;
public class Main {
public static void main(String[] args) {
// List<String []> highAdminList = null;
List<String []> highAdminList = new ArrayList<String[]>();
String[] a = {"a","s"};
String[] b = {"a","s"};
String[] c = {"a","s"};
highAdminList.add(a);
highAdminList.add(b);
highAdminList.add(c);
for (String[] string : highAdminList) {
for(int i = 0;i<string.length;i++)
{
System.out.println(string[i]);
}
}
}
}
public class Main {
public static void main(String[] args) {
// List<String []> highAdminList = null;
List<String []> highAdminList = new ArrayList<String[]>();
String[] a = {"a","s"};
String[] b = {"a","s"};
String[] c = {"a","s"};
highAdminList.add(a);
highAdminList.add(b);
highAdminList.add(c);
for (String[] string : highAdminList) {
for(int i = 0;i<string.length;i++)
{
System.out.println(string[i]);
}
}
}
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询