Thread: java.lang.Math
View Single Post
  #2 (permalink)  
Old 01-31-2008, 06:11 PM
jelly's Avatar
jelly jelly is offline
Member
 
Join Date: Jan 2008
Location: Somerset, UK
Posts: 46
jelly is on a distinguished road
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
Reply With Quote