Predict the output :
int m=3,n=5,p=4;
if(m==n && n!=p)
{
System.out.println(m*n);
System.out.println(n%p);
}
System.out.println(m%p);
Answers
Answered by
6
The output will be only 3 as [if(m==n && n!=p)] this statement is false.
Similar questions