C# Programming - Exception Handling - Discussion

Discussion Forum : Exception Handling - General Questions (Q.No. 2)
2.
Which of the following statements is correct about an Exception?
It occurs during compilation.
It occurs during linking.
It occurs at run-time.
It occurs during Just-In-Time compilation.
It occurs during loading of the program.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Mahesh.P said:   1 decade ago
Mainly errors are of 2 types:

1) Compile time errors.

2) Run Time Errors: The error raised at run time are known as "EXCEPTION".

Ex: Divided by Zero, File Not Found Exception etc :).

Bulelani said:   1 decade ago
You will figure out that an exception occurs when you run your program because during compilation you just check for the errors.

Imran Pathan said:   1 decade ago
Two types of error.

1 - Compile time.
2 - Run time.

Post your comments here:

Your comments will be displayed after verification.