MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / displayCircularQueue

Method displayCircularQueue

Programs/Circular_Queue.java:44–52  ·  view source on GitHub ↗
( CircularQueue cq)

Source from the content-addressed store, hash-verified

42 }
43
44 static void displayCircularQueue( CircularQueue cq) {
45 Node n = cq.first;
46 System.out.printf("\nElements in Circular Queue are: ");
47 while (n.link != cq.first) {
48 System.out.printf("%d ", n.value);
49 n = n.link;
50 }
51 System.out.printf("%d", n.value);
52 }
53
54 public static void main(String[] args) {
55

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected