The Math class (java.lang.Math) provides a comprehensive set of static methods for common mathematical operations: rounding, trigonometry, exponentiation, logarithms, and random numbers. All methods are static — you never instantiate Math. For performance-critical code, StrictMath guarantees bit-for-bit reproducible results across platforms.
Constants and basic operations