Enter your Sign-on user name and password.

Forgot password?
  • Follow us on:
Loading video...

Start Learning Now

Our free lessons will get you started (Flash® 10 required).
Get immediate access to our entire library.

Sign up for Educator.com

Features Overview

  • Get on-demand access to our complete library
  • Search and jump to exactly what you need to learn
  • Track your progress
  • Download practice and lesson files
  • *Ask questions and get answers from our community & instructors

Equality, Relational, & Logical Operators

  • The == operator tests for equality; remember not to use = for this
  • The other relational operators are != (not equal to), < (less than), <= (less than or equal to), > (greater than), and >= (greater than or equal to)
  • Logical AND operator is &&; a && b is true only if a is true and b is also true
  • Logical OR operator is ||; a || b is true if either a is true or b is true (or both are true)
  • Logical NOT operator is !; !a is true is a is false; !a is false if a is true

Equality, Relational, & Logical Operators

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

AP Computer Science: Introduction to Java