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 2

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


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)