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 the reason that multiple inheritance is not possible in java??
We can write any Java Logics in our JSP. Then why we are using servlets(Controller Layer) to interact with the DAO ?
What are virtual methods?
What is runtime locatable code?
How to sort numbers in java without array?
What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?
for what purpose we use applets ?
What is multithreading in java?
explain the life cycle of thread?
10 Answers CTS, NIIT, TCS,
Which software is used for java programming?
Different types of Layouts?
what is meaning of JIT?