Ads

Posted in : Java Beginners

Hi,

Can you create object of Math class?

Thanks

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

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

Related Tutorials/Questions & Answers: