a) erro de compilação
b) imprime 5 4 3 2 1 Feliz 2004!
c) imprime 5 4 1 Feliz 2004!
d) imprime 2 1 Feliz 2004!
e) imprime 3 1 Feliz 2004!
f) imprime 4 Feliz 2004!
g) imprime 5 3 1 Feliz 2004!
h) imprime 4 1 Feliz 2004!
i) imprime 5 4 3 2 1 go go go!
public class GUJ4 {
public static void main (String [] args) {
int i = 0;
int j = 0;
try {
i = 5/j;
System.out.print ("5 ");
} catch (ArithmeticException e) {
System.out.print ("4 ");
} catch (RuntimeException e) {
System.out.print ("3 ");
} catch (Exception e) {
System.out.print ("2 ");
} finally {
System.out.print ("1 ");
}
System.out.print ("Feliz 2004! ");
}
}

