Home » JAVA Programming » Basic Datatypes » Question
  1. What is the base of BigDecimal data type?
    1. Base 2
    2. Base 10
    3. Base e
    4. Base 8
    5. None of these
Correct Option: B

A BigDecimal is n*10^scale where n is an arbitrary large signed integer. Scale can be thought of as the number of digits to move the decimal point to left or right.



Your comments will be displayed only after manual approval.