What names are displayed in the list box when the button is clicked on?

```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim file As String = "Ships.txt"
Dim ships() As String = FillArray(file)
lstBox.Items.Add(ships(2))
lstBox.Items.Add(ships.Min)
End Sub
Function FillArray(file As String) As String()
Dim names() As String = IO.File.ReadAllLines(file)
Return names
End Function
```
Assume the three lines of the file Ships.txt contain the following entries: Pinta, Nina, Santa
Maria
(A) Pinta and Nina
(B) Santa Maria and Pinta
(C) Nina and Santa Maria
(D) Santa Maria and Nina

(D) Santa Maria and Nina

Computer Science & Information Technology

You might also like to view...

Consider the following code snippet, where the array lists contain elements that are stored in ascending order:

ArrayList list1 = new ArrayList(); ArrayList list2 = new ArrayList();. . . int count = 0; for (int i = 0; i < list1.size() && i < list2.size(); i++) { if (list1.get(i) == list2.get(i)) { count++; } } Which one of the following descriptions is correct for the given code snippet?

Computer Science & Information Technology

During the program debugging stage, the people who will use the program test the software

Indicate whether the statement is true or false

Computer Science & Information Technology