Just try to run,compile and get the output.But there is an error.Find it and give me the answer!!!
class Q4{
public static void main(String args[]){
int x=10;
int y=20;
if((x<y)&&(2x==y)&&(3x>y)){
System.out.println("x is less to y");
System.out.println("2x is equal to y");
System.out.println("3x is greater to y");
}
}
}
class Q4{
public static void main(String args[]){
int x=10;
int y=20;
if((x<y)&&(2x==y)&&(3x>y)){
System.out.println("x is less to y");
System.out.println("2x is equal to y");
System.out.println("3x is greater to y");
}
}
}





