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 are the 7 types of characters?

0 Answers  


How to do a true java ping from windows?

0 Answers  


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

0 Answers   Amazon,


What does += mean coding?

0 Answers  


What java is used for?

0 Answers  






How many ways can we create the string object?

0 Answers  


briefley expalin about the packages

3 Answers  


What type of variable is error flag?

0 Answers  


What is the difference between normal report & matrix report?

0 Answers  


What is double checked locking in singleton?

0 Answers  


What is difference between overloading and overriding?

2 Answers   Accenture,


why is multiple inheritance not allowed in java?

7 Answers   Elementus Technologies, Huawei, Infosys,


Categories