Answer:
a. ArrayList years
Explanation:
Required
Complete the code segment
The programming question is about Java programming language.
In java, the syntax to declare an ArrayList of no specific datatype is:
ArrayList [List-name] = new ArrayList();
From the question, the name of the ArrayList is years.
So, the syntax when implemented is:
<em>ArrayList years = new ArrayList();</em>
<em>So, the comment /*missing code*/ should be replaced with: ArrayList years</em>