๐Ÿ’ปap computer science a review

Math.pow

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

The Math.pow method in Java is used to calculate the power of a number. It takes two parameters - the base number and the exponent - and returns the result as a double value.

"Math.pow" also found in: