String and object comparison - Java Quiz Question


What will be the output of the following program?


A
AAACCC
B
AAADDD
C
BBBCCC
D
BBBDDD
E
Compilation Error or Runtime Error