Hi Jeanne,
I don't completely agree with your errata on page "https://www.selikoff.net/java-ocp-8-programmer-ii-study-guide/" regarding the error Seb pointed for page 130, chapter III.
You wrote :
In table 3.4, the first should have a boolean return type. The second to last row should return E, not void.
but only the
remove method should return E, not all method "
from second to last row returning void should return E", because 2nd one (
void add(int index, E element)) is actually correct in the book.
I would suggest more specifically :
In table 3.4, the 1st (add(E element)) should have a boolean return type. The 6th (remove(int index)) should return E, not void.