0
Q:

remove first element of arraylist

ArrayList<Integer> myList = new ArrayList<>();
myList.add(1);
myList.add(2);
myList.add(3);

myList.remove(0);

System.out.println(myList); //2, 3
0

New to Communities?

Join the community