ICSE Class 9 Computer Applications
Question 16 of 21
Operators in Java — Question 16
Back to all questions 16
Question Question 16
Determine the output of the following program.
public class Test
{
public static void main(String[] args)
{
int a = 1, b = 2;
System.out.println("Output1: " + a + b);
System.out.println("Output2: " + (a + b));
}
}