Did you use each Boolean operator no more than one time?


#1



Replace this line with your code. 
public class Precedence {
	public static void main(String[] args) {

		boolean riddle = (!(1 < 8 ) && 5 < 2 || 3 < 5);
		System.out.println(riddle);

	}
}


#2

Hi,
Can you post the link to exercise you are on. There are quite a few boolean lessons.


#3

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