问答题
[说明]
现欲构造一文件/目录树,采用组合(Composite)设计模式来设计,得到的类图如下图所示。
【正确答案】
【答案解析】
this→name
list<AbstractFile*>*
null
this→name
&childList
提交答案
关闭