Question 31
Which three are advantages of the Java exception mechanism? (Choose three.)
- Improves the program structure because the error handling code is separated from the normal program function
- Provides a set of standard exceptions that covers all possible errors
- Improves the program structure because the programmer can choose where to handle exceptions
- Improves the program structure because exceptions must be handled in the method in which they occurred
- Allows the creation of new exceptions that are customized to the particular program being created