Why are the methods of the Math class are static?



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

Post New Answer

More Core Java Interview Questions

What is the use of set in java?

0 Answers  


What is a char in java?

0 Answers  


What is the point of java?

0 Answers  


How to sort array in descending order in java?

0 Answers  


What is the difference between serialization and deserialization?

3 Answers   ABC,






What are new features introduced with java 8 ?

0 Answers  


Can java run on google chrome?

0 Answers  


What is the nested interface?

0 Answers  


State differences between C and Java?

0 Answers   Deloitte, JPMorgan Chase,


What is the difference between error and an exception?

0 Answers  


What is hash table in java?

0 Answers  


What is difference between equal and == in java?

0 Answers  


Categories