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 Dim undoBuffer As New Queue() 

B Dim undoBuffer As New Stack() 

C Dim undoBuffer As New Queue(Of String) 

D Dim undoBuffer As New Stack(Of String) 

+ Answer
+ Report
Total Preview: 732

Copyright © 2024. Powered by Intellect Software Ltd