Home » JAVA Programming » Basic Datatypes » Question
  1. Which of the following is not provided by BigDecimal?
    1. scale manipulation
    2. rounding
    3. hashing
    4. + operator
    5. None of these
Correct Option: D

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



Your comments will be displayed only after manual approval.