Q: 如何将Arraylist转成string输出?
A:   List<String> testCases = new ArrayList();
 testCases.add("this");
 testCases.add("is");
 testCases.add("VOA");
 String[] caseName = testCases.toArray(new String[]{});
 System.out.println(Arrays.toString(caseName));

相关文章:

  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-21
  • 2021-06-30
  • 2021-12-16
  • 2021-06-26
相关资源
相似解决方案