gurpeet singh wrote:suppose i have two threads, say i have a main thread and then i start new Thread A. if now thread A throws RuntimeException in run method , what will happen ? will main thread stop ? or just Thread A stop ?
No offense meant, but how about writing a program on your own - in which a tread throws some RuntimeException - and see what happens?
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)