Solved

Which of the Following Statements Is Used When You Want

Question 11

Multiple Choice

Which of the following statements is used when you want to add data to the end of an existing text file?


A) Dim sr As IO.StreamReader = IO.File.OpenText("Data.txt")
B) Dim sr As IO.StreamReader = IO.File.AddText("Data.txt")
C) Dim sw As IO.StreamWriter = IO.File.CreateText("Data.txt")
D) Dim sw As IO.StreamReader = IO.File.AppendText("Data.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