Title: More Boolean Concepts (JPHI)
Course: CPS 161: An Intro to Programming with Java - DL MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- More Boolean Concepts (JPHI) lecture video (Time: 00:00)
- More Boolean Concepts (JPHI) document

- Review of String issues with == and using the method equals, or possibly the methods equalsIgnoreCase, or compareTo
- New boolean operators:&&, ||, and !
- How to evaluate ranges like: 5<x<= 20="" using="" the&&operator="" <="" li="">
- Using the operator precedence table to evaluate expressions ... Parentheses can change the order or clarify the existing evaluation order
- Short circuit logic with&&and || and taking advantage of this to write robust code