Question:You are developing an application that makes use of a Queue class object named
MyQueue. This Queue class object will be used to store messages sent by the user during application
run time. You would like to access the message at the beginning of the queue, prior to processing the
user messages, without removing it. What should you do? -(VB.NET) 

A Use the Enqueue method of the MyQueue object. 

B Use the Contains method of the MyQueue object. 

C Use the Dequeue method of the MyQueue object. 

D Use the Peek method of the MyQueue object. 

+ Answer
+ Report
Total Preview: 1134

Copyright © 2024. Powered by Intellect Software Ltd