Help with the exercise Boolean Operator: || 3/11

public class Or {
public static void main(String args) {
boolean trues=2<3||3<2;
//System.out.println(0==1 || 2==3);



well first off line 3 there need to be a space between ‘trues’ and ‘=’ and ‘2<3’ and ‘||’ and ‘3<2’
you also have set the last line into a comment so get rid of the //.
P.S. - next time use the format and be more descriptive about your problem.

To make it easier for anyone interested in helping, here is the URL to this exercise:

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