Category Archives: Java

Advanced Understanding of Java

Two Hidden Bugs of Conditional Operators

      Comments Off on Two Hidden Bugs of Conditional Operators

Programmers create bugs, but experienced programmers should be familiar with their language and have best practices to avoid possible common bugs. I found operators are sometimes easy to behave weirdly. Today I memo two bugs to help readers and myself avoid them in the future. == has higher precedence than && and ||… Read more »