Search:

Type: Posts; User: helloworld922

Search: Search took 0.10 seconds.

  1. Re: Beginner in Java, something occured which I can't explain.

    More or less, though the second part is redundant because accessing an un-assigned local variable is a syntax error in Java.

    A better definition of compiler error is any error which can be caught...
  2. Re: Beginner in Java, something occured which I can't explain.

    Basically, the Java compiler is not that smart.

    It can identify the expression 1 > 0 as always being true (it's defined as a constant expression) because it contains only primitive literals and...
Results 1 to 2 of 2