Question:You are developing an application that will store user messages collectively and the
process the messages in sequence. The order in which the messages are processed will depend on the
order in which it is received. To add messages to the collection, users will specify the message that
should be stored in a TextBox control named txtMsg and then click a Button control named btnAdd. You
need to ensure that the appropriate code is used to create the collection. What should you use? (Choose
two) -(VB.NET) 

A Dim msgCollection As New Queue() 

B Dim msgCollection As New Stack() 

C msgCollection.Enqueue(txtMSG.Text) 

D msgCollection.Push(txtMSG.Text) 

+ Answer
+ Report
Total Preview: 1300

Copyright © 2024. Powered by Intellect Software Ltd