Which of the following is the advantage of BigDecimal over double?
Check your spam folder if password reset mail not showing in inbox????
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
a) Syntax b) Memory usage c) Garbage creation d) Precision View Answer Answer: d Explanation: BigDecimal has unnatural syntax, needs more memory and creates a great amount of garbage. But it has a high precision which is useful for some calculations like money.
a) Syntax
See lessb) Memory usage
c) Garbage creation
d) Precision
View Answer
Answer: d
Explanation: BigDecimal has unnatural syntax, needs more memory and creates a great amount of garbage. But it has a high precision which is useful for some calculations like money.