> Import Java.Math
>
Also, if this is truely what you typed, it will never work. Import is written with a small i (import).
Also, Math is in java.lang, so you do not need to import it at all.
As far as finding out where a class is, there is this wonderful thing called API Documentation. Use it.
> C:\jdk1.5.0_07\jre\lib
> that is in jdk\jre\lib\rt.jar
> use java decomplier to see Math.class
> http://members.fortunecity.com/neshkov/dj.html
> Give me duke dollars
Maybe you would have deserved some duke dollars if you had suggested that the OP simply looks at Math's source code - why decompile the class? If he had wanted to know it, that is.