Home » Interview » Technology

When finally block is executed?

Correct Answer: If exception is generated in try and if that exception is not catch by any catch then finally is executed If exception is generated in try and if that exception is caught by one of catch statements then also finally is executed if no exception is generated then also finally is executed

← Previous Question Next Question→

More Questions from Technology

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion