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 allocate memory to object?
What is a Java package and how is it used?
How do you call a reference in java?
How many bytes is double?
can abstract class have constructor how can you achive this ?
'A class is a template for an object' explain this statement.
0 Answers Akamai Technologies,
what is platform
What is Overriding and how can it be used?
What is a ?
What is the Scope of Static Variable?
system.out.println(1 + 3);
Does list maintain insertion order java?