C# Programming - Exception Handling - Discussion

Discussion :: Exception Handling - General Questions (Q.No.2)

2. 

Which of the following statements is correct about an Exception?

[A]. It occurs during compilation.
[B]. It occurs during linking.
[C]. It occurs at run-time.
[D]. It occurs during Just-In-Time compilation.
[E]. It occurs during loading of the program.

Answer: Option C

Explanation:

No answer description available for this question.

Imran Pathan said: (May 22, 2014)  
Two types of error.

1 - Compile time.
2 - Run time.

Bulelani said: (Aug 6, 2014)  
You will figure out that an exception occurs when you run your program because during compilation you just check for the errors.

Mahesh.P said: (Dec 8, 2014)  
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 :).

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.