A

Admin • 828.03K Points
Coach

Q. Can we use `try` without a `catch` block?

  • (A) Yes, if finally is used
  • (B) No, it's invalid
  • (C) Yes, always
  • (D) Only in Java 11+

Explanation by: Admin
A try block can be followed by either a catch or finally block or both.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.