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 are the types of exceptions?
Why string is not thread safe?
What are the common problems you have faced while implementing Java?
How does multithreading take place on a computer with a single cpu in java programming?
why the primitive data type have classes?
What is flag in java?
Can we access the non-final local variable, inside the local inner class?
How the elements are organized in BorderLayout?
What is the original name of java?
How to count occurrences of each duplicate element in a list {a,b,d,c,a,b} ? Thanks in Advance
What do you mean by static variable?
how are methods defined?