AprogrammeriteratesovertheTreeSetandprintsthenameofeachDrinkobject.Whatistheresult?()A.TeaB.CoffeeC.CoffeeTeaD.Compilationfails.E.Thecoderunswithnooutput.F.Anexceptionisthrownatruntime.

题目
AprogrammeriteratesovertheTreeSetandprintsthenameofeachDrinkobject.Whatistheresult?()

A.Tea

B.Coffee

C.CoffeeTea

D.Compilationfails.

E.Thecoderunswithnooutput.

F.Anexceptionisthrownatruntime.


相似考题