Exam4Training

What is the expected behavior of the following snippet?

What is the expected behavior of the following snippet?

It will:
A . cause a runtime exception on line 02
B . cause a runtime exception on line 01
C . cause a runtime exception on line 03
D . print 3

Answer: D

Explanation:

Exit mobile version