1.

What will be the output of the program? public class ExamQuestion7 { static int j; static void methodA(int i) { boolean b; do { b = i

A. j = 0
B. j = 4
C. j = 8
D. The code will run with no output
Answer» C. j = 8


Discussion

No Comment Found

Related MCQs