how to remove element from first in arraylist in java code example
Example: 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