Please enable JavaScript to use CodeHS

AP CSA: VAR-2.D.5

CodeHS Lessons

ArrayList<E> is preferred over ArrayList because it allows the compiler to find errors that would otherwise be found at run-time.