What will happen if no exception occurs in a try block?

Last Updated :
Discuss
Comments

What will happen if no exception occurs in a try block?

The catch block executes

The finally block executes, but catch does not

Neither catch nor finally executes

The program terminates immediately

Share your thoughts in the comments