Unit 4: Relational and Logical Operators in Java
In this unit, we discuss relational and logical operators in Java, which provide the foundation for topics like control structures that we will discuss later in the course. In this unit, we start by taking a look at operator notation. We then discuss relational operators as they apply to both numeric operands and object operands. The unit concludes with an introduction to logical operators. By the end of this unit, you should be able to perform comparisons and logic functions in Java and have a fundamental understanding of how they are employed.
Completing this unit should take you approximately 5 hours.
4.1: Relational and Logical Operators
4.2: Truth Tables
Unit 4 Assessment
- Receive a grade