Question: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 undoBuffer = gcnew Stack(); 

B Queue undoBuffer = gcnew Queue(); 

C Stack<String=> undoBuffer = gcnew Stack<String=>(); 

D Queue<String=> undoBuffer = gcnew Queue<String=>(); 

+ Answer
+ Report
Total Preview: 1039

Copyright © 2024. Powered by Intellect Software Ltd