ArrayList[] arr = new ArrayList[5];
for(int i=0; i<5; i++)
{
arr[i]= sc.nextInt();
}
Now, to add a given value to a given index I can do:
arr[index].add(value);
but how do I delete a value at a given index?
arr[index].remove(); does not work. It say no method found for remove()