Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Supondo que o método “B” gera uma exceção do tipo “A”indique como trataria essa exceção
Supondo que o método “B” gera uma exceção do tipo “A”
indique como trataria essa exceção
Nenhuma das opções
try{ B(); catch (A c); }
try
{ B(); catch (A c); }
try{ B(); } catch (A c) { }
{ B(); } catch (A c) { }
try{ catch(A c) { B(); } }
{ catch(A c) { B(); } }
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!