Answer:
Math class has all static methods like,some of listed below:
Sqrt: Used for calculating Square Root of any value.
Round: Used for Rounding value to the nearest integer.
Random: Used for populating Random values.
Tan: Returns the Tangent of an angle.
Cos: Returns the Cosine of an angle
Sin: Returns the Sine of an angle
Pow(x,y): Returns the value of x to the power of y.
Asked In: Many Interviews |
Alert Moderator