Thread
:
java.lang.Math
View Single Post
#
2
(
permalink
)
01-31-2008, 06:11 PM
jelly
Member
Join Date: Jan 2008
Location: Somerset, UK
Posts: 46
Math has a private constructor - hence your error message - all its methods are static so there is never a need to instantiate on, e.g.
Code:
x = Math.sqrt(4);
__________________
-- Hope that helps
jelly
View Public Profile
Send a private message to jelly
Find all posts by jelly