If you create an object using Java's BigDecimal class, and then perform a division that results in a non-terminating decimal division such as 1/3, but specify that an exact result is needed, a(n) ____ is thrown.
A) DivisionByZero
B) ArithmeticException
C) InternalError
D) MismatchException
Correct Answer:
Verified
Q21: Which method constructor constructs a new exception
Q22: The _ option must be used when
Q23: The Java compiler does not require that
Q24: In order to use a variable both
Q25: In the case where a method might
Q27: Programs would be less clear if you
Q28: _ exceptions are the type that programmers
Q29: Any _ block might throw an Exception
Q30: The _ class comprises less serious errors
Q31: If a method throws an exception that
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents