ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
Why are the methods of the Math class are static?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Why are the methods of the Math class are static?
Answer
# 1
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 ?    3 Yes 2 No
Ranganathkini
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is static binding and where it occurs?  2
What is the format of Inner Class after it compiled?  1
Can a double value be cast to a byte?  3
A abstract class extending an abstract class.Super class has both abstract and non-abstract methods.How can we implement abstract and non-abstract mehtods? Explain with snippet  3
what is finalmethod & final variable with example? HP2
Marker interface means , interface which has no methods.Then what is the necessity of its usage.I read "it tells the compiler that it should be treated differently ". "It is used to store state of an object". But still am not clear.Please explain clearly.  1
what are the oops concept in java explain with real time examples Tech-Mahindra4
What is constructor and virtual function?  4
What is a Wrapper class?  9
Why is prepared Statement, Callable Statement used for? What is the need of Batch updates? Logica-CMG1
Difference between the paint() and repaint() methods?  1
What is a default package ?  7
How to find the length and capacity of a string buffer ?  2
Difference between JDK, JRE, JVM Oracle5
what is difference betwwen hashmap and hashtable ? Fidelity6
What is the argument type of main() method?  2
As a developer what steps do you take to improve the performance?  3
Which class is extended by all other classes?  2
what is difference between throw and throws in exception?  16
what is use of session tracking ?with example? Photon1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com