Multiple choice technology platforms and products

Can we have try block with out catch?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Java, a try block can exist without catch if it has a finally block. This pattern is useful for resource cleanup or code that must execute regardless of exceptions.