Challenge 11 - 2


#1

I have no idea what they are asking me to do here.

Use a Boolean expression that will print out the code in the else block of the if/else statement.
What message and what Boolean am i testing?


#2

Just using an equal sign to directly compare boolean values. Understand might get confusing:

System.out.println(true == false);


Intrested in Web Develpoment? Where to go next?This is the place for you!

Instrested in Game Development? Where to go next? This is the place for you!


#3

Hi Amanuel,

System.out.println(true == false);

Equal operator will compare the two objects and print the result.

In above mentioned statement holding two values T and F.
True is not equal to False. So it will print the answer false .
FYI Boolean only have two value 1. True 2. False. So we will get the answer with in these two values


#4

Hi Can you please elaborate your question. I am not getting where your stuck.


#5

thats the anwser... The actual anwser...


#6

Where you get confused?


#7

the person with the question is @ziber...


#8

Oh okay. Thanks. Hope ziber can understand my answer