Quote:
./Test.java:9: cannot resolve symbol
symbol : variable math
location: class Test
value = math.sqrt(x*x);
^
./Test.java:13: cannot resolve symbol
symbol : variable math
location: class Test
System.out.println(math.pow(y,x) + " " + Math.pow(y,x));
^
2 errors
|
just tried it on my system with 2 instances of math.* and two instances of Math.* and it only yelled about the lower case.. Perhaps it is specific to the java compiler for the platform I am running. I am using the Java SDK for Linux, how about yourself?
this is just curiousity now, I find a lot of the things I had taken as strict truths can sometimes be bent, so I try to find where they are so I am not anal about them to others *grin*