关于命令模式,以下叙述中正确的是()。
2023-06-20
关于命令模式,以下叙述中正确的是()。
A.命令模式可以降低系统的耦合度,便于增加新的Command子类。
B.Invoker类调用Command类的execute()方法,execute()方法嵌套调用Receiver类的action()方法。
C.Invoker类负责维护一个命令队列,以实现撤销和恢复。
D.Client不能调用Command类的execute()方法。
E.Client不能调用Receiver类的action()方法。
参考答案:
ABC
![]( //img1.runjiapp.com/duoteimg/tiku/images/pc/questionBank/main-list-title-icon.png)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_99.jpg)
超星尔雅《世界建筑史》(南京大学)2020期末考试及答案(一)
2023-04-19
竞赛及其他题库
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_94.jpg)
2023-04-19
竞赛及其他题库
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_73.jpg)
2023-04-19
竞赛及其他题库
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_89.jpg)
2023-04-19
竞赛及其他题库
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_90.jpg)
2023-04-19
竞赛及其他题库
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_82.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_86.jpg)
智慧树知到《形势与政策》2020春(成都工业学院)章节测试及答案
2023-04-19
竞赛及其他题库
热门标签