What happens if an exception is not caught?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by multithreaded program?

557


How do you achieve singleton?

535


How big is a 32 bit integer?

533


Can we define package statement after import statement in java?

562


Can a static class have a constructor java?

554






What is array length?

509


Is object a data type?

564


This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

565


How do you use parseint in java?

515


Why 1 is not a prime number?

563


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

582


What is a for loop in java?

601


What is an exception in java?

648


What does java final mean?

522


Is double bigger than float?

550