Page 1024 - AP Computer Science A, 7th edition
P. 1024
26. (E) The value of each Coin c in coins must be accessed with c.getValue(). This eliminates choice D. Eliminate choices A and B: The loop accesses each Coin in the coins ArrayList, which means that there should not be any statements attempting to get the next Coin. Choice B would be correct if the first statement in the loop body were
double value = c.getValue();