Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why are the methods of the Math class are static?

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


Please Help Members By Posting Answers For Below Questions

Why is the singleton pattern considered to be an anti pattern?

844


How do you end a program?

1035


Can you instantiate the math class?

994


What are the loops in java?

950


What is meant by main method?

998


Is empty set an element of empty set?

1032


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

918


What is difference between jdk,jre and jvm?

1048


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?

1121


What is purpose of keyword void?

985


Explain the Propertie sof class?

998


Is singleton class immutable?

912


What is the default access specifier for variables and methods of a class?

1138


What is string builder?

843


What is tochararray in java?

879