a) dequeue() and peek() remove and return the next time in line
b) dequeue() and peek() return the next item in line
c) dequeue() removes and returns the next item in line while peek() returns the next item in line
d) peek() removes and returns the next item in line while dequeue() returns the next item in line
What is difference between dequeue() and peek() function of java?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is difference between dequeue() and peek() function of java?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!