Why is this method not producing output on the console?

Given the code fragment: Assume the method printNums is passed a valid array containing
data. Why is this method not producing output on the console?

Given the code fragment: Assume the method printNums is passed a valid array containing
data. Why is this method not producing output on the console?

A.
There is a compilation error.

B.
There is a runtime exception.

C.
The variable number is not initialized.

D.
Standard error is mapped to another destination.



Leave a Reply to Vasily Cancel reply1

Your email address will not be published. Required fields are marked *

nineteen − fourteen =