2️⃣

6.2 Relational Operators

Chapter Table of Contents

🤔
Ch. 6 Conditionals

Section Table of Contents

Relational Operators Table

image

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.

Previous Section

Next Section

⚖️

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 classes@code4tomorrow.org for inquiries.