Why are the methods of the Math class are static?
Answer / ranganathkini
The Math class contains methods used for most general
purpose mathematical calculations and hence serve more like
utility methods used for mathematical calculations and do
not depend on instance data to perform their job. Hence they
are static.
| Is This Answer Correct ? | 14 Yes | 4 No |
How do you check if a string contains only numeric digits?
What initialize variables?
What is the meaning of immutable regarding string?
What are the interfaces defined by Java.lang package?
What if static is removed from main method?
what is the difference between sleep() and Wait()?
Is array passed by reference in java?
Can we convert integer to string in java?
In Java why we write public static void main(String args[]) why not main()?
46 Answers Aptech, GE Healthcare, Infosys, Microsoft, New Horizon, Practical Viva Questions, TCS, Wipro,
Is call by reference possible in java?
What are the 3 types of control structures?
Is it possible to create object with out its default constructor? if possible how? else not possible? justify