To divide BigDecimal b1 by b2 and assign the result to b1, you write

To divide BigDecimal b1 by b2 and assign the result to b1, you write _________.


A. b1.divide(b2);
B. b2.divide(b1);
C. b1 = b1.divide(b2);
D. b1 = b2.divide(b1);
E. b1 = b2.divide(b1);

The correct answer is C


Java

Learn More Multiple Choice Question :