What would be the output of the following code fragment? (2 marks)
boolean b = true;
int n = 5;
if(n>=5 && b)
System.out.println("true");
if(n<=5 || b)
System.out.println("true");
if(n==5 || !b)
System.out.println("true");
true
true
true
true
true
true
It will not produce any output
|
|