Loops Are Simple - Java Quiz Question


What will be the output of the following program?


A
ABBDDDGGGGKKKK
B
ABBDDDGGGGGGGG
C
BDDGGGKKKKKKKK
D
Some other output or Compilation Error or Runtime Error