answersLogoWhite

0

A try block must have a corresponding catch or atleast a finally block. The purpose of a try block is to identify areas in the code where exceptions may be generated and handle them. So, if you dont have a catch block, the whole purpose of using the try block is defeated

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin

Add your answer:

Earn +20 pts
Q: Does try run without catch n exception handling?
Write your answer...
Submit
Still have questions?
magnify glass
imp