ArrayList<String> arrayListExtra = new ArrayList<String>();
Object[] objects = arrayListExtra.toArray();
String[] stringObj = Arrays.copyOf(objects, objects.length, String[].class);

 

相关文章:

  • 2022-01-23
  • 2021-11-28
  • 2021-10-09
  • 2021-08-11
  • 2022-12-23
  • 2021-12-18
  • 2021-08-31
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2021-05-23
  • 2022-12-23
  • 2021-11-19
  • 2021-12-18
相关资源
相似解决方案