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. Dim undoBuffer As New Stack(Of String)
B. Dim undoBuffer As New Stack()
C. Dim undoBuffer As New Queue(Of String)
D. Dim undoBuffer As New Queue()
Answer: A
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. Dim undoBuffer As New Stack(Of String)
B. Dim undoBuffer As New Stack()
C. Dim undoBuffer As New Queue(Of String)
D. Dim undoBuffer As New Queue()
Answer: A
No comments:
Post a Comment