Multiple Choice
The line of code
sw.Close
when used with the line
sw = IO.File.CreateText(fileName)
completes which of the following tasks?
A) it closes the current application
B) it closes the current form
C) it closes the currently opened window of the application
D) it closes the file referred to by the variable name sw
Correct Answer:

Verified
Correct Answer:
Verified
Q5: In a Try-Catch-Finally block, the code in
Q6: Which of the following statements will result
Q7: A Catch block of code that is
Q8: In a Try-Catch-Finally block, if there are
Q9: Each element of an XML document must
Q11: Text files are updated by opening them
Q12: When an exception is generated by a
Q13: A text file cannot be open both
Q14: In a Try-Catch-Finally block, the Catch clauses
Q15: The code in a Try block refers