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 array length in java?
How do you declare an empty string?
What is the properties class?
How java uses the string and stringbuffer classes?
Can you run java program without main method?
Can a class have more than one object?
What is difference between path and classpath variables?
How can you eliminate duplicates?
Can an abstract class be final?
What is the difference between an object-oriented programming language and object-based programming language?
when you will synchronize a piece of your code? : Java thread
is memory to the abstract class allocated ..or objects not instantiated