Error Output


#1
public class Precedence {
	public static void main(String[] args) {

		boolean riddle = /*<*/(1 < 8)/*>*/(5 > 2)/*<*/(3 < 5);
		System.out.println(riddle);

	}
}

Precedence.java:4: error: ';' expected
boolean riddle = /*</(1 < 8)/>/(5 > 2)/<*/(3 < 5);
^
Precedence.java:4: error: illegal start of type
boolean riddle = /*</(1 < 8)/>/(5 > 2)/<*/(3 < 5);
^
Precedence.java:4: error: illegal start of expression
boolean riddle = /*</(1 < 8)/>/(5 > 2)/<*/(3 < 5);
^
3 errors

I have no clue what this output means. I have tried to fix it for a while now and cannot seem to get that pop-up answer in my head


#2

The errors are Java's way of telling you it has no clue how to parse and compile what you have given it.

Try removing all those comments (/* */) and try again.