Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Can you instantiate the Math class?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Deepak Kumar
Can you instantiate the Math class?
1 Answer(s)      4 years and 2 months ago
Posted in : Java Beginners


Hi,

Can you create object of Math class?

Thanks

Advertisement
View Answers

October 5, 2010 at 3:43 PM


Hi,

All the methods in Math class is static. The constructor is not public in the Math class. So, we can't create the object of Math class.

Thanks


Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com