搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

You are creating an undo buffer that stores data modifications.You need to ensure that the undo functionality undoes the most recent data modifications first.You also need to ensure that the undo buffer permits the storage of strings only.Which code segment should you use?()

A、Stack<string> undoBuffer=new Stack<string>();

B、Stack undoBuffer=new Stack();

C、Queue<string> undoBuffer=new Queue<string>();

D、Queue undoBuffer=new Queue();

更多“You&#8194;are&#8194;creating&#8194;an&#8194;undo&#8194;buffer&#8194;that&#8194;stores&#8194;data&#8194;modifications.You&#8194;need&#8194;to&#8194;ensure&#8194;that&#8194;the&#8194;undo&#8194;functionality&#8194;undoes&#8194;the&#8194;most&#8194;recent&#8194;data&#8194;modifications&#8194;first.You&#8194;also&#8194;need&#8194;to&#8194;ensure&#8194;that&#8194;the&#8194;undo&#8194;buffer&#8194;permits&#8194;the&#8194;storage&#8194;of&#8194;strings&#8194;only.Which&#8194;code&#8194;segment&#8194;should&#8194;you&#8194;use?()”相关的问题
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服