Arraylists in java

 ArrayList<String> groceryList = new ArrayList();
 groceryList.add("apples");
groceryList.get(i)
groceryList.set(1,"kiwis");
groceryList.remove(1);
groceryList.contains("apples");
 groceryList.indexOf("apples")
    integerList.add(Integer.valueOf(i*20));  
    System.out.println(integerList.get(i).intValue());
  //Or simply like this  as wrapping is done by java by itself in the background
      integerList.add(i * 10);
System.out.println(integerList.get(i));