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 5f22570 commit 27753bbCopy full SHA for 27753bb
src/main/java/com/dataStructures/Stack.java
@@ -2,9 +2,8 @@
2
3
import java.io.Serializable;
4
import java.util.EmptyStackException;
5
-import java.util.Vector;
6
7
-public class Stack<E> extends Vector implements Serializable {
+public class Stack<E> implements Serializable {
8
9
/**
10
* Inital capacity alloted to stack on object creation
0 commit comments