exceptionhandling
exceptionhandling
1. What is an Exception?
An exception is an event that occurs during the execution of a program and disrupts
its normal flow. Examples include:
finally: A block that always executes after try-catch, useful for cleanup
operations.