What happens if an exception is not caught?
Answers were Sorted based on User's Feedback
results in the termination of the program
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / ravikiran
The default exception handler will print the stack trace
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / sandeep
The programme will terminate abnormally and then default
exception handler will handle the exception.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / joo
statement goes to another try block or statement must go
to finally bloxk
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ritika
The uncaughtException method of the thread ThreadGroup being invoked which eventually results in the termination o the thread in which it is thrown.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is hotjava?
What is the use of hashmap in java?
How variables are declared?
java Technical questions asked by JPMC
What is the static field modifier?
Explain about exception propagation?
What is the purpose of lambda expressions?
What happens if an exception is throws from an object's destructor?
What is the method overriding?
What is immutable data?
What do you mean by ternary operator in java?
What is non static block in java
10 Answers Emphasis, Ness Technologies,