What is the result when infected() is invoked?

Given the code fragment: What is the result when infected() is invoked?

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



Leave a Reply to dwin Cancel reply2

Your email address will not be published. Required fields are marked *

three × 5 =


gelete

gelete

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)