Showing posts with label cos(). Show all posts
Showing posts with label cos(). Show all posts

Thursday, 26 January 2012

Fundamental classes in the java.lang package

Using the Math class


The Math class is final and all the methods defined in the Math class are static, which means you cannot inherit from the Math class and override these methods. Also, the Math class has a private constructor, so you cannot instantiate it.

The Math class has the following methods: ceil(), floor(), max(),