Limited access

Upgrade to access all content for this subject

Which of the following declaration and instantiation statements would produce an error?

A
List nums = new ArrayList ();
B
List words = new List ();
C
ArrayList dubs = new ArrayList ();
D
ArrayList cars = new ArrayList ();
E

All of these choices are valid declaration and instantiation statements

Select an assignment template