Limited access

Upgrade to access all content for this subject

Given an ArrayList recList, which of the following will retrieve the first object in the arrayList?

A

recList.getElement(1);

B

recList.get(0);

C

recList.getElement(0);

D

recList.get(1);

E

recList.retrieve(1);

Select an assignment template