
30 Days of Java | Day 3
One-line if statements If the if statement only has one statement you do not need braces, although it can be good to put them anyways. int score = 250; if (score > 100 && score <300) System.out.println("You got it!"); Variables in code blocs are no...


