单选题

Given: A programmer iterates over the TreeSet and prints the name of each Drink object. What is the result?()

ATea

BCoffee

CCoffeeTea

DCompilation fails

正确答案

来源:www.examk.com

答案解析