Math Methods in Java
Help
System.out.println(Math.abs(-5));
5
What is the output of Math.ceil(3.2)
4.0
Evaluate Math.floor(-2.3)
-3.0
Unlock this slideshow and over 4 million more with Baamboozle+
Try slideshows
Your experience on this site will be improved by allowing cookies.
Allow cookies