将Java数组转换为arraylist主要有两种方法。 Using Arrays.asList() method 使用Arrays.asList()方法 Using Collections.addAll() method 使用Collections.addAll()方法