Deepak Kumar
Can you instantiate the Math class?
1 Answer(s)      4 years and 8 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