What's the proper way to format “if” statements in Java with multiline “ands” or “ors”? [closed]
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . Apparently "if", "and", and "or" are such generic search parameters that I can't find the answer on google for my life. Which of these is the correct format according to the Java standards? Option 1 : if (condition1 && condition2 && condition3) ... or Option 2 : if