concept multiple catch block in category java

This is an excerpt from Manning's book Java SE 11 Programmer I Certification Guide.
Single try block, multiple catch blocks, and a finally block
For a try block, you can define multiple catch blocks but only a single finally block. Multiple catch blocks are used to handle different types of exceptions. A finally block is used to define cleanup code—code that closes and releases resources, such as file handlers and database or network connections.

This is an excerpt from Manning's book OCA Java SE 8 Programmer I Certification Guide.
Single try block, multiple catch blocks, and a finally block
For a try block, you can define multiple catch blocks but only a single finally block. Multiple catch blocks are used to handle different types of exceptions. A finally block is used to define cleanup code—code that closes and releases resources, such as file handlers and database or network connections.