You can use the toArray() method of the List interface to convert a List<Integer> to an int[] in Java. Here's an example: List<Integer> list = Arrays.
確定! 回上一頁