1.

Which of the following is not provided by BigDecimal?(a) scale manipulation(b) + operator(c) rounding(d) hashing

Answer» Right option is (b) + operator

Best explanation: toBigInteger() converts BigDecimal to a BigInteger.toBigIntegerExact() converts this BigDecimal to a BigInteger by checking for lost information.


Discussion

No Comment Found

Related InterviewSolutions