You are viewing a single comment's thread. Return to all comments →
You don't need parentheses - precedence of the ternary operator is lower than logical OR https://introcs.cs.princeton.edu/java/11precedence/
Seems like cookies are disabled on this browser, please enable them to open this website
Java If-Else
You are viewing a single comment's thread. Return to all comments →
You don't need parentheses - precedence of the ternary operator is lower than logical OR https://introcs.cs.princeton.edu/java/11precedence/