Computer Science, asked by yashaswinirp07, 3 months ago


What is the output of this program?
public class equality {
int x=3;
int y=4;
boolean isequal() {
return(x == y);
12
}
}
3
public class Output {
public static void main(String args[])
4
{
5
equality obj new equality O ;
obj.x = 5;
obj.y = 5;
System.out.println(obj.isequal());
}
}

Answers

Answered by Anonymous
0

Answer :

Compilation Error

Please Mark As Brainliest Answer And Drop A Thanks !

Similar questions