Which of the following declares a StreamReader variable namednewFile?

A. Dim inFile As IO.StreamReader
B. Dim newFile As IO.StreamReader
C. Dim newFile As IO.StreamWriter
D. Dim newFile As StreamReader


Answer: B

Computer Science & Information Technology

You might also like to view...

To perform a two- or three-column sort on a worksheet list, click the Sort & Filter button in the Editing group on the Home tab and click _____.

A. Custom Sort B. Sort Range C. Sort List D. none of the above

Computer Science & Information Technology

When checking a host's IPv4 settings, which step should follow checking the default router settings on the host?

A) Check the host's list of DNS server addresses against the actual addresses by the servers. B) Check the host's default router settings against the router's LAN interface configuration. C) Check the subnet mask used by the router and the host. D) Confirm the host and router are in the same subnet as the one implied by the ip address command.

Computer Science & Information Technology

How does a program recognize the end of an input file?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is a PHP function used to declare constants?

a. var b. define c. echo d. phpinfo

Computer Science & Information Technology