I'm new to java and I'm trying to figure out how the Math functions work. I can't figure out what I'm missing.
Here's the entire program:
public class Math {
public static void main(String args[])
{
double x = Math.abs(4);
System.out.println(x);
}
}
When I try to compile it, jGRASP says, "Math.java:5: error: cannot find symbol double x = Math.abs(4);"