Booleans and Operators Problem with interface?


Some kind of bug... You could report it.

When I typed the code below, it should have been false because obviously, 34 is not greater than 33.
But it returned true.
public class And {
public static void main(String[] args) {

	System.out.println(34>33 && 56>45);


Does anyone know why???



Wait... let's backtrack. 34 is not greater than 33?


Same problem, I just can't seem to get past it.




Well the program that told me to make the system print either true and false with the &&& symbols. I tried multiple times with different numbers and the computer printed true and false at different times. I eventually gave up.


You need to at most use 2 of these &&. One is for binary numbers (not covered in this track) and && are for booleans. Could you post your code so that we can try to find the bug?