Chapter Table of Contents

Ch. 6 Conditionals

Section Table of Contents

Relational Operators Table

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/215d576f-3560-4dd3-aa9d-3536b2b2fa43/Untitled.png

Credit: Y. Daniel Liang, Introduction to Java Programming (Comprehensive Version), 10th ed.

But a lot of the time, it’s not as simple as just using relational operators. Sometimes a condition is dependent on other conditions. For instance, if I am registered to vote and I am 18 or older, I can vote. That’s where logical operators come in.

<aside> 🖥️ RelationalOperators.java

</aside>

Previous Section

6.1 Introduction to Boolean Logic

Next Section

6.3 Logical Operators

<aside> ⚖️ Copyright © 2021 Code 4 Tomorrow. All rights reserved. The code in this course is licensed under the MIT License.

If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact [email protected] for inquiries.

</aside>