Skip to content
Sharp

Core Java · interview question

Which of the following statements is true about BigDecimal arithmetic operations?

Multiple choiceEasychapter-7-curatedpremiumcore-javabigdecimal-and-money
Choose one answer
Answer and explanation

Correct answer

B. Operations like add and multiply return a new BigDecimal.

Why

BigDecimal is immutable, meaning arithmetic operations like add and multiply return a new instance rather than modifying the original. This ensures that the original BigDecimal remains unchanged.

Test yourself on Core Java

A free test with instant, explained results. No account needed.

Start free test
All Core Java questions →