3.7. Multiple Catch Blocks¶
In a previous section, we saw that a try
block can have multiple connected
catch
blocks. In this section, we will further explore this idea in another
example and explain the semantics in more depth.
Follow along with Dr. Barnes as he works through the code:
https://www.youtube.com/watch?v=j-GNWvLNLjs