Skip to content

Commit 2f6a3c5

Browse files
committed
update the return statement for the size() method
1 parent c4606cc commit 2f6a3c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queue/usingList/ListQueue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public Iterator<E> iterator() {
9494

9595
@Override
9696
public int size() {
97-
return 0;
97+
return size;
9898
}
9999

100100
@Override

0 commit comments

Comments
 (0)