Thread View: borland.public.jbuilder.java.api
3 messages
3 total messages
Started by Alchemy
Fri, 19 Dec 2003 22:14
Problems with import java.lang.Math;
Author: Alchemy
Date: Fri, 19 Dec 2003 22:14
Date: Fri, 19 Dec 2003 22:14
6 lines
1129 bytes
1129 bytes
Have Import the class but get error cant resolve method sqrt. Verry ThankFull For Tipps Or AdVice Sincerely Urban Avierfj�rd(Alchemy) Visby,Gotland,Sweden http://w1.201.comhem.se/~u20100003
Re: Problems with import java.lang.Math;
Author: Owen Green
Date: Sat, 20 Dec 2003 03:43
Date: Sat, 20 Dec 2003 03:43
10 lines
1186 bytes
1186 bytes
On Fri, 19 Dec 2003 23:14:33 +0100, Alchemy wrote: > Have Import the class but get error cant resolve method sqrt. > Verry ThankFull For Tipps Or AdVice Can you post your code and the exact text of whatever error message / stack trace you're getting? -- Owen
Re: Problems with import java.lang.Math;
Author: Tor Iver Wilhelmsen (TeamB)
Date: Mon, 22 Dec 2003 08:35
Date: Mon, 22 Dec 2003 08:35
8 lines
1201 bytes
1201 bytes
"Alchemy" <alkemist_111@comhem.se> writes: > Have Import the class but get error cant resolve method sqrt. > Verry ThankFull For Tipps Or AdVice Before JRE 1.5 is out you need to use the class name for static methods, e.g. Math.sqrt(). With 1.5 you can use "static import" where the method names themselves are imported into your class' namespace.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads