Limited access

Upgrade to access all content for this subject

Consider the following.

List listA = new ArrayList<Integer>();
List listB = new ArrayList();
List listC = new List();
ArrayList listD = new ArrayList();
ArrayList listE = new ArrayList<Integer>();

Which of the following Lists could not contain Integer elements?

A

listA

B

listB

C

listC

D

listD

E

listE

Select an assignment template