Im 15 years old and want to know if I paid attention to the explanations about unary operators and their precedence.
Little part of the table
1.Post increment (expression++/--)
2. Pré increment (++/--expression)
In the example(page 84 and 85) -> int lion; int tiger = ++lion * 5 / lion--;
The book explains that, first
java works above pre increment and after post increment, but its not!
Should be something like -> First post increment and after pre increment, cause post increment has more precedence, or the order of the table is wrong, or in this case java start left to right?
Thanks!!!