Explanation about a Java statement

Posted by monn on Stack Overflow See other posts from Stack Overflow or by monn
Published on 2010-05-11T04:05:53Z Indexed on 2010/05/11 4:14 UTC
Read the original article Hit count: 125

Filed under:
public static void main(String[] args) {
    int x = 1 + + + + + + + + + 2;
    System.out.println(x);
}

I can compile above method. Is there any explanation about the allowed multiple "+" operator?

© Stack Overflow or respective owner

Related posts about java