Home / Report Question

Q. Predict the output of following Java program
  • A. 0
  • B. compiler error
  • C. garbage value
  • D. runtime error

Correct Answer: B