Review the fundamentals of using Java operators and decision statements as you prepare for the Java SE 8 Programmer I exam.
Overview
Syllabus
Introduction
- Operators and decision statement puzzles for Java OCP test
- Exercise file setup
- Unary operators
- Binary operators
- Precedence order
- If-then-else statements
- Ternary operators
- Switch statements vs. nested if-else
- While and do-while
- For loops and enhanced for loops
- Break, continue, and optional labels
- Next steps
Taught by
Baochuan Lu