Dieses Programm kompiliert bei mir nicht:
auch nicht mit einem expliziten import von java.lang.
klappt es.
Ich benutze das SDK der 1.5 Beta 1.
Hat jemand von euch ähnliche Probleme?
Code:
public class IntMaxValue
{
public static void main (String[] args)
{
System.out.println (Integer.MAX_VALUE);
}
}
Erst wenn ich schreibe:IntMaxValue.java:5: cannot find symbol
symbol : variable MAX_VALUE
location: class Integer
System.out.println (Integer.MAX_VALUE);
^
IntMaxValue.java:5: internal error; cannot instantiate println(boolean) at java.
io.PrintStream to (Integer.MAX_VALUE)
System.out.println (Integer.MAX_VALUE);
^
2 errors
Code:
System.out.println (java.lang.Integer.MAX_VALUE);
Ich benutze das SDK der 1.5 Beta 1.
Hat jemand von euch ähnliche Probleme?