public class A {
public static void main(String[] args) {
List<Integer> list = new ArrayList<Integer>();
list.add(1);
list.add(0);
Integer[] array = null;
list.toArray(array);
System.out.println(list.get(1));
}
}
Login in to like
Login in to comment