Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

Can you instantiate the Math class?

Ads

 
 

Share on Google+Share on Google+

Deepak Kumar
Can you instantiate the Math class?
1 Answer(s)      6 years and 9 months ago
Posted in : Java Beginners
Hi,

Can you create object of Math class?

Thanks
Ads
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

Ads