Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Can you have a try block without a catch block?
Answer: Yes, you can have a try block without a catch block if there is a finally block.

Example:

try { /* code */ } finally { /* cleanup code */ }
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook