Quiz Yourself on 2D Arrays

Attempt the following quiz to test your understanding of 2D arrays.

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

Consider the following segment:

String[][] families = {{"Kim", "Allen"}, 
                       {"Nancy", "John"}, 
                       {"Chris", "Samantha"}, 
                       {"Rob", "Mary"}}

What is the value at families[2][0]?

A.

Nancy

B.

Chris

C.

Allen


1 / 14