We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c78cb commit dfd5df8Copy full SHA for dfd5df8
βCodingBlocks Training/Day17/QusingStackEnqEffClient.javaβ
@@ -21,6 +21,7 @@ public static void main(String[] args) throws Exception {
21
System.out.println("\ndeleting element: " + queue.dequeue());
22
queue.display();
23
24
+ System.out.println("\nfront element is :" + queue.front());
25
System.out.println("\nsize of queue: "+ queue.size());
26
}
27
@@ -47,5 +48,7 @@ public static void main(String[] args) throws Exception {
47
48
deleting element: 10
49
20 >> 30 >> 40 >> 50 >>
50
51
+front element is :20
52
+
53
size of queue: 4
54
*/
0 commit comments