Given the code fragment: What is the result when infected() is invoked?
A.
before catch finally after
B.
before catch
C.
before catch finally
D.
before try catch finally after
E.
before catch after
Given the code fragment: What is the result when infected() is invoked?
A.
before catch finally after
B.
before catch
C.
before catch finally
D.
before try catch finally after
E.
before catch after
C
C
before catch finally Exception in thread “main” java.lang.ArithmeticException: / by zero
at Test.infected(Test.java:14)
at Test.main(Test.java:6)