Pergunta de entrevista da empresa Q3 Technologies

is it possible to get executed more than one catch block with single try statement

Respostas da entrevista

Sigiloso

1 de dez. de 2016

You can have multiple catch blocks associated with a try block,but only a single catch block can ever handle your exception. you can have a try block without a catch,but it is mandatory to have a finally block

Sigiloso

4 de jul. de 2016

I said not but Interviewer was not satisfied

1