Home / Report Question

Q. What is the output of the below Java program?
  • A. 1 2 3 4
  • B. 1 2 3
  • C. 6
  • D. Compiler error

Correct Answer: B