Having issues understanding equality operators 11/12 java introduction


#1



https://www.codecademy.com/en/courses/learn-java/lessons/introduction-to-java/exercises/equality-operators


What confusing me is do I type the code on line 3 or do I type it on line 4 in between the code thats there?


#3

1.Use any equality operator to directly compare two Boolean values. Do not declare any variables.

We are given this line to output our expression:

System.out.println();

Boolean values are true and false. How do we compare two values? Answer is in the lesson text.

Insert your expression as the println() method argument.

System.out.println( __expression__ );

#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.