Click here to navigate the course.
Drag the edges to resize the window.
In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!
Great work! Control flow allows Java programs to execute code blocks depending on Boolean expressions. What did we learn about control flow so far?
Boolean Operators: &&, ||, and ! are used to build Boolean expressions and have a defined order of operations
Statements: if, if/else, and if/else if/else statements are used to conditionally execute blocks of code
Ternary Conditional: a shortened version of an if/else statement that returns a value based on the value of a Boolean expression
Switch: allows us to check equality of a variable or expression with a value that does not need to be a Boolean