Exam4Training

If you need to serve two different exceptions called Ex1 and Ex2 in one except branch, you can write:

If you need to serve two different exceptions called Ex1 and Ex2 in one except branch, you can write:
A . except Ex1 Ex2:
B . except (ex1, Ex2):
C . except Ex1, Ex2:
D . except Ex1+Ex2:

Answer: D

Exit mobile version