Solved

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

Question 24

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

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