Creating Class with multiple methods - Java Quiz Question


What will be the output of the following program?


A
18, 9, 6,
B
18, 18, 6, 4, 2, 0, 0, 0, 0  
C
18, 18, 6, 4, 4, 4, 0, 0, 0
D
Some other output
E
Goes into infinite loop
F
Compilation Error or Runtime Error