Computer Science, asked by sonalidasjsg40, 4 months ago

What is the problem with the following snippet?
class Q12
{
public void Test()
{
int i = 5, j = 10 ;
if((i<j)||(i = 10 ))
System.out.println("OK");
System.out.println("NOT OK");
}
}
...' ​

Answers

Answered by sahil10august
0

if((i<j)||(i = 10 ))

System.out.println("OK");

else

System.out.println("NOT OK");

Similar questions