Solved

If a Program Does Not Include Exception Handling,what Will Happen

Question 30

Multiple Choice

If a program does not include exception handling,what will happen when a data file is opened with the StreamReader object and the file does not exist?


A) A file will be created.
B) The next available file on the disk will be opened.
C) A dialog box will automatically appear allowing the user to find the correct name or location of the file.
D) An unhandled exception will occur,causing the program to fail.

Correct Answer:

verifed

Verified

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

Related Questions