I'm almost sure that the answer for this question is yes, but I'm not sure how to articulate it on my exam. Since an ArrayList is a List and a List is a Collection, we can definitely say that an ArrayList is a Collection.
However, how can I afirm that an ArrayList<String> is a Collection<String> without knowing that Collection is a generic class beforehand?
How would you answer this question?
Thanks