0
Why does this statement cause an error?
System.out.println (++(++i));
3 Answers
+ 5
++i returns a constant. so the outer ++ is given an constant whereas it can only work on variables. so the error.
+ 1
@Venkatesh Thanks!!!
0
++
System.out.println (++(++i));