Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

Commit 0ba74e2

Browse files
committed
format fixes
1 parent 5299212 commit 0ba74e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • content/java/concepts/queue/terms/poll

content/java/concepts/queue/terms/poll/poll.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
Title: 'poll()'
33
Description: 'Retrieves and removes the head of the queue, or returns null if the queue is empty.'
4-
Subjects:
4+
Subjects:
55
- 'Computer Science'
66
- 'Data Science'
77
Tags:
@@ -50,7 +50,7 @@ public class PollQueueExample {
5050
// Process elements
5151
while (!queue.isEmpty()) {
5252
// Removes and returns the head of the queue
53-
String element = queue.poll();
53+
String element = queue.poll();
5454
System.out.println("Processing element: " + element);
5555
}
5656
}

0 commit comments

Comments
 (0)