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...
How can you select multiple thumbnail images in the Media Browser?
What will be an ideal response?
Information stored in main memory must be transferred to some other device for permanent storage.
Answer the following statement true (T) or false (F)
Digital coding techniques such as binary with eight-zero substitution (B8ZS) are becoming more popular because they are designed to
a. provide error-free signaling. b. operate at higher data rates. c. eliminate bipolar violations. d. maintain ones density standards.
Some websites use a design strategy called _______________ web design to create websites that adjust layout and, in some cases, content, to the device and screen displaying the web pages.
Fill in the blank(s) with correct word