Question: Suppose you have a queue object called myQueue of type queueType with a maximum size of 100. If you want to add an integer
Suppose you have a queue object called myQueue of type queueType with a maximum size of 100. If you want to add an integer value, num, to the back of the queue, which operation should you use? O a. None of the provided options. O b. myQueue.enQueue(num) O c. myQueue.pushBack(num) O d. myQueue.pushFront(num) O e. myQueue.addLast(num)
Step by Step Solution
3.42 Rating (142 Votes )
There are 3 Steps involved in it
The detailed answer for the above question is provided below The correct answer is b myQueueenQueuenum The enQueue method is the builtin method for ad... View full answer
Get step-by-step solutions from verified subject matter experts
