Which of the following is the advantage of BigDecimal over double?

Q & ACategory: JavaWhich of the following is the advantage of BigDecimal over double?
Admin Staff asked 5 years ago

Which of the following is the advantage of BigDecimal over double?
a) Syntax
b) Memory usage
c) Garbage creation
d) Precision

1 Answers
Admin Staff answered 5 years ago

d) Precision