answersLogoWhite

0


Best Answer

You can use the Math.pow function to raise one number to the power of another.

Math.pow(24, 3) will return 243

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write exponents in Java?
Write your answer...
Submit
Still have questions?
magnify glass
imp