Answer Posted / 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 View All Answers
Why is the singleton pattern considered to be an anti pattern?
How do you end a program?
Can you instantiate the math class?
What are the loops in java?
What is meant by main method?
Is empty set an element of empty set?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is difference between jdk,jre and jvm?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
What is purpose of keyword void?
Explain the Propertie sof class?
Is singleton class immutable?
What is the default access specifier for variables and methods of a class?
What is string builder?
What is tochararray in java?