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
B . print 1
C . print 0, [1]
D . print [1]

Answer: A

Explanation:

Exit mobile version