n. Determine the output of the following program
public class PredictOutput2
{
public static void main(String args[])
{
int a = 6, b = 2, c = 3;
System.out.println("Output 1: " + (a == b * c));
System.out.println("Output 2: " + (a == (b + c)));
}
}
Answers
Answered by
8
Output 1: true
Output 2: false
Output 2: false
Similar questions