Timeline for Java: pre-,postfix operator precedences
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 19, 2016 at 8:27 | history | edited | ROMANIA_engineer | CC BY-SA 3.0 | added 16 characters in body |
| Sep 24, 2013 at 21:00 | comment | added | Kaushik Sivakumar | this may be wrong,but just a guess,is because of left to right evaluation in java..say its 2 *3 *5 in java, i think it straightaway doesnt multiply it to 30 it does 2*3=6 1st and den multiplies it by 5 | |
| Sep 24, 2013 at 20:52 | comment | added | D.R. | It's clear. But look at the table. prefix has lower precedence than postfix. So why is it evaluated before last postfix? That's the main problem for me. | |
| Sep 24, 2013 at 20:51 | history | edited | Kaushik Sivakumar | CC BY-SA 3.0 | added 109 characters in body |
| Sep 24, 2013 at 20:41 | history | answered | Kaushik Sivakumar | CC BY-SA 3.0 |