Data Types And Variables - Study Mode

[#1] Which class does all the Enums extend?
Correct Answer

(C) Enum

[#2] Which of the following is the advantage of BigDecimal over double?
Correct Answer

(D) Precision

[#3] What is the order of variables in Enum?
Correct Answer

(D) Depends on the order() method

[#4] Which class is a library of functions to perform arithmetic operations of BigInteger and BigDecimal?
Correct Answer

(A) MathContext

[#5] What is the limitation of toString() method of BigDecimal?
Correct Answer

(D) toString uses scientific notation