Article View: borland.public.jbuilder.java.language
Article #16073don't import java.lang.Math - the question!
From: Mike Booth
Date: Sun, 04 Apr 1999 00:00
Date: Sun, 04 Apr 1999 00:00
8 lines
1151 bytes
1151 bytes
I have an object that refuses to import java.lang.Math! If I try to use the pow() method later on, it says it can't find the method in my object. If I prefix the object with java.lang.Math.pow(), everything works fine. Does anyone have any ideas? It's driving me mad. Thanks in advance, Mike.
Technical Details
Message-ID:
<7e80ba$r1h$1@news5.svr.pol.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,1f5836345807c717,start X-Google-Attributes: gidf5d71,public X-Google-Thread: 10a146,1f5836345807c717,start X-Google-Attributes: gid10a146,public X-Google-Thread: f74b3,1f5836345807c717,start X-Google-Attributes: gidf74b3,public From: "Mike Booth" <mike@ezee-fix.freeserve.co.uk> Subject: don't import java.lang.Math - the question! Date: 1999/04/04 Message-ID: <7e80ba$r1h$1@news5.svr.pol.co.uk> X-Deja-AN: 462575378 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@theplanet.net X-Trace: news5.svr.pol.co.uk 923239594 27697 62.136.66.71 (4 Apr 1999 15:26:34 GMT) Organization: Customer of Planet Online NNTP-Posting-Date: 4 Apr 1999 15:26:34 GMT Newsgroups: borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.programmer