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...

List five of the eight data entry methods mentioned in the book.

What will be an ideal response?

Computer Science & Information Technology

Which of the following indicates that it is derived from Vehicle as outlined above?

``` class Vehicle { protected: string manufacturer; string engine; double weight; public: Vehicle(string m, string e, double w); }; ``` A. Car Vehicle; B. class Car :: public Vehicle C. class Car : public Vehicle D. Vehicle Car;

Computer Science & Information Technology

A _____ requires the person requesting access to provide information that only an authorized user is supposed to know.

A. ?possessed entity access system B. ?possessed conferral access system C. ?possessed knowledge access system D. ?possessed object access system

Computer Science & Information Technology

A presentation saved as a(n) ________ file retains its formatting and can be viewed without the PowerPoint program

A) Word B) RTF C) template D) PDF

Computer Science & Information Technology