MindIQ Academy
1 / 100
OCJP 21 (1Z0-830) - Control Flow - 100 MCQs

Question 1

What will be the output of the following code?

int x = 5;
if (x > 3)
    System.out.println("A");
    System.out.println("B");
System.out.println("C");