query: Java - Unexpected exiting of if else statement, possible improper use of scanner comparison?
positive_passages.docid: 126
positive_passages.text: How do I compare strings in Java?
negative_passages.docid: 33398
negative_passages.text: C# difference between == and Equals()
negative_passages.docid: 52179
negative_passages.text: What's a functional replacement for if-then statements?
negative_passages.docid: 72909
negative_passages.text: What does the |= operator do in Java?
negative_passages.docid: 147679
negative_passages.text: Java Integer compareTo() - why use comparison vs. subtraction?
negative_passages.docid: 124650
negative_passages.text: Is `if (condition = value)` the correct syntax for comparison?
negative_passages.docid: 153856
negative_passages.text: String comparison and String interning in Java
negative_passages.docid: 126341
negative_passages.text: Avoiding IF ELSE due to variable been NULL
negative_passages.docid: 23488
negative_passages.text: "Missing return statement" within if / for / while
negative_passages.docid: 152345
negative_passages.text: Omitting the second expression when using the if-else shorthand
negative_passages.docid: 31433
negative_passages.text: How do I properly compare strings in C?
negative_passages.docid: 10204
negative_passages.text: How to properly compare two Integers in Java?
negative_passages.docid: 12091
negative_passages.text: Are if else statement equivalent to logical and && or || and where should I prefer one over the other?
negative_passages.docid: 8979
negative_passages.text: Why use apparently meaningless do-while and if-else statements in macros?
negative_passages.docid: 7276
negative_passages.text: Code executes condition wrong?
negative_passages.docid: 100132
negative_passages.text: What does the "+=" operator do in Java?
negative_passages.docid: 139204
negative_passages.text: Why do numeric string comparisons give unexpected results?