Main.java:1: error: class test is public, should be declared in a file named test.java
public class test
^
Main.java:6: error: incompatible types: int cannot be converted to boolean
if(x)
^
Main.java:10: error: incompatible types: int cannot be converted to boolean
if(y)
^
3 errors