问答题 [说明]
现欲构造一文件/目录树,采用组合(Composite)设计模式来设计,得到的类图如下图所示。
【正确答案】
【答案解析】abstract
null
List
childList
printTree(file)