🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7858

Re: jave newbe question

#7858
From: rp
Date: Sat, 19 May 2001 23:01
18 lines
1419 bytes
Math is a final class full of static functions, this meens you can not
construct or
extend Math, you make the call like
x = Math.pow(a,b);
Also since Math is in java.lang package you do not need the import
statement.

"Phil Barber" <pbarber@net1.net> wrote in message news:3b06d7ab_2@dnews...
> I would like to use the pow function in the math library
> i included this line in  the code:
> import java.lang.Math.*;
> but i still get error 300 variable not found in class
> i have jbuilder4 foundation
> thanks
>
>
>
>
Technical Details
Message-ID: <3b06fbb7$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.skycache.com!Cidera!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b06d7ab_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,44c4d087f0b05f98
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-19 16:10:13 PST
From: "rp" <admin@objectpascal.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3b06d7ab_2@dnews>
Subject: Re: jave newbe question
Date: Sat, 19 May 2001 18:01:00 -0500
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 64.132.9.22
Message-ID: <3b06fbb7$1_1@dnews>
X-Trace: dnews 990313399 64.132.9.22 (19 May 2001 16:03:19 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.skycache.com!Cidera!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews