java how to remove the first value from an araylist 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