1int num = 9;
2
3if (num == 1 || num == 2) {
4 System.out.println("Nope");
5 }
6
7if (num == 1 || num == 9) {
8 System.out.println("Yep");
9 }
1if(a || b){
2 doSomething();
3}
4
5/*
6For if queries: || (OR), && (AND), == (EQUALS), != (DOES NOT EQUAL)
7 < (LESS THAN), > (GREATER THAN), <= (LESS THAN OR EQUAL TO),
8 >= (GREATER THAN OR EQUAL TO)
9*/