Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

remove item from arraylist in java

//Create the ArrayList
List<Integer> al = new ArrayList<>(); 
//Add the items
al.add(10);
al.add(18);
//Remove item(1 = 2and item in list)
al.remove(1); 
 
PREVIOUS NEXT
Tagged: #remove #item #arraylist #java
ADD COMMENT
Topic
Name
1+4 =