✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Señale qué es lo que imprime el siguiente código al ser ejecutado y por qué es ese el o los caracters impresos en consola.
public class Test { public static void main(String[] args) {
try {
System.out.println("1");
metodo();
System.out.println("2");
} catch (Exception e) {
System.out.println("3");
} finally {
System.out.println("4");
}
System.out.println("5");
}
public static void metodo() throws Exception {
throw new Exception();
}
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!