For this question, assume "collection" is an ArrayList. Which of the following get methods will get the first element in the ArrayList?

collection.get(0);
  • collection.get(1);
  • collection.get(collection.size()-1);
  • collection.get(collection.size());

There are not hints for this question