Computer Science, asked by akhilaguntupalli458, 7 months ago

3
public class test
{
public static void main(strings [] args)
{
int x=3;
int y=1;
if (x=y)
system.out.println("Not equal");
else
system.out.println("Equal");
}
}​

Answers

Answered by saij234
0

Answer:

class Equals

{

public static void main(String [] args)

{

int x = 100;

double y = 100.1;

boolean b = (x == y); /* Line 7 */

System.out.println(b);

}

}

Similar questions