Hi there,
I have this code
I get this compile error:Code:import static java.lang.Long.*;
public class bit {
public static void main(String[] args) {
long number = 0xF000_0000_0000_000FL;
System.out.println(number);
}
}
bit.java:4: ';' expected
long number = 0xF000_0000_0000_000FL;
Are the _ underscores just used in the examples to make it easier to read what is going on? Or are they used in code and something is wrong with my setup? I am running Ubuntu 11 and JDK 6
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Thanks,
Ajt

