Prev Question
Next Question

Given the code fragment: What is the result?

A.
Compilation fails

B.
10 8 6 4 2 0

C.
10 8 6 4 2

D.
AnArithmeticException is thrown at runtime

E.
The program goes into an infinite loop outputting: 10 8 6 4 2 0. . .

Prev Question
Next Question

Leave a Reply

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