Quiz: Java 7

This quiz will cover everything you covered in Java 7 category.

We'll cover the following...
Technical Quiz
1.

How do you declare an ArrayList named “strings” that contains only objects of type String (in Java 7+)?

A.
List <String> strings = new ArrayList<>();
B.
List strings = new ArrayList<>();
C.
List <String> strings = new ArrayList<>;
D.
List strings = new ArrayList<>;

1 / 3