In exception handling, what is the purpose of the try block?
To declare the type of exceptions that can occur
To catch exceptions thrown by methods
To define exceptions that the method might throw
To execute code that may throw an exception