Question:You need to create a method to clear a Queue named q. Which code segment should you
use? - (VB.Net) 

A For Each e As Object In q
Dequeue()
Next 

B For Each e As Object In q
Enqueue(Nothing)
Next 

C q.Clear() 

D q.Dequeue() 

+ Answer
+ Report
Total Preview: 1285

Copyright © 2024. Powered by Intellect Software Ltd