Look up the following exception classes in the online Java API documentation and describe their purpose:
ArithmeticException
NullPointerException
NumberFormatException
PatterSyntaxException
ArithmeticException
This exception is thrown when an exceptional arithmetic condition occurs, such as dividing by zero.
NullPointerException
This exception is (most commonly) thrown when attempting to call an instance method of a null reference. It occurs in other situations as well, such as attempting to throw a null reference.
NumberFormatException
This exception is thrown when an application attempts to convert a string into a numeric value, but the string does not have the proper format.
PatterSyntaxException
This exception is thrown when a syntax error occurs in the pattern of a regular expression.
You might also like to view...
After naming and saving a file, you can click the Save command from the Quick Access Toolbar without having to go to Backstage view to save changes
Indicate whether the statement is true or false
The final ____________________ statement after the final case or default statement is not required.
Fill in the blank(s) with the appropriate word(s).