1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Java

Connected

Exercise

Equal or not

Testing equality is one of the most common operations in programming. Whether validating input, checking conditions, or comparing data, you'll use equality operators constantly. Let's practice this essential skill!

Instructions

100 XP
  • Save the result of checking whether 193 is equal to the value of a to the variable first.
  • Complete the print statement to display the variable first.