Solved

Select the Example Statement Below That Would Open a Text

Question 7

Multiple Choice

Select the example statement below that would open a text file for output.


A) Dim sw As IO.StreamWriter = IO.File.OpenText("IncomeData.txt")
B) Dim sw As IO.StreamWriter = IO.File.CreateText("IncomeData.txt")
C) Dim sr As IO.StreamReader = IO.File.OpenText("IncomeData.txt")
D) Dim sr As IO.StreamReader = IO.File.AppendText("IncomeData.txt")

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents