Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaBigDecimalSingle-choice MCQ

What is the scale of the result of this multiplication?

BigDecimal x = new BigDecimal("1.50"); BigDecimal y = new BigDecimal("2.5"); System.out.println(x.multiply(y).scale());