I m stuck at level 11


#1



Replace this line with your code.


#2

its not enough for us to help you.we cant help without knowing the Error.so please post your code here and tell us where did you get stuck?what did you try?

also post your lesson link


#3
System.out.println(myChar == myInt);

#4

Instructions:

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

myChar or myInt is not a boolean value.A boolean is a data type that can only be either true or false.
you have to compare directly two Boolean values.so i would do like

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

or

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

also you can use === too


#5

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