Which of the following use generics and compile without warnings? (Choose two.) A. List a = new

Question:

Which of the following use generics and compile without warnings? (Choose two.) 

A. List a = new ArrayList();

B. List<> b = new ArrayList();

C. List c = new ArrayList<>();

D. List<> d = new ArrayList<>();

E. List e = new ArrayList();

F. List<> f = new ArrayList();

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: