Chapter Table of Contents
Ch. 6 ConditionalsSection Table of Contents
Relational Operators Table
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
6.1 Introduction to Boolean LogicCopyright © 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.