Ghosts - Java Quiz Question


What will be the output of the following program?


A
GHOSTT-GHST-GHOSTST-GHOSS-GHOSTT-
B
GHOSTT-GHST-GHOSTST-GHOS-GHOSTT-
C
GHOSTT-GHOSTT-GHOSTST-GHOS-GHOSTT-
D
Some other output or Compilation Error