单项选择题
Youarecreatinganundobufferthatstoresdatamodifications.Youneedtoensurethattheundofunctionalityundoesthemostrecentdatamodificationsfirst.Youalsoneedtoensurethattheundobufferpermitsthestorageofstringsonly.Whichcodesegmentshouldyouuse?()
A.Stack<string> undoBuffer=newStack<string>();
B.StackundoBuffer=newStack();
C.Queue<string>undoBuffer=newQueue <string>();
D.QueueundoBuffer=newQueue();
- A.Youneedtoensurethattheundofunctionalityundoesthemostrecentdatamodificationsfirst.Youalsoneedtoensurethattheundobufferpermitsthestorageofstringsonly.Whichcodesegmentshouldyouuse?()
A.Stack<string>
B.StackundoBuffer=newStack();
C.Queue
D.QueueundoBuffer=newQueue();
点击查看答案&解析
相关考题
-
单项选择题
()造价低、支持海量规模、便于广域网访问,多用于云存储,网盘,备份归档及视频存储等场景。
A.分布式文件系统
B.分布式块存储
C.分布式对象存储
D.分布式条存储 -
单项选择题
()技术自动将不同活跃度的数据和不同特点的存储介质动态匹配,提高存储系统性能并降低用户成本。
A.数据拷贝
B.精简供应
C.快照
D.动态分级存储 -
单项选择题
云计算的()特点指的是随机应变的自助服务,高度的自助服务。
A.按需自助服务
B.无处不在的网络接入
C.资源池化
D.快速弹性伸缩
