- Home
- Output Questions for Class 10 ICSE Computer Applications
Determine the output of the following program. public class
Output Questions for Class 10 ICSE Computer Applications
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)));
}
}