What is the correct order of catch blocks?

  1. From general to specific
  2. From specific to general
  3. Any order
  4. Only one catch allowed
Correct answer From specific to general

Explanation

Catch blocks must be ordered from most specific to most general.

Update: Admin added a tag on this question

Topics

By Admin · · 24 views