Posted by: Pdfprep
Post Date: December 22, 2020
What is the expected behavior of the following code?
A . it outputs 1
B . it outputs 2
C . the code is erroneous and it will not execute
D . it outputs 3
Answer: B
Comments (2)
C is the correct answer the except branch with no arguments must be executed last
No C is not correct. Code is erroneous and will not execute as the default except should be last.