Removing inheritance from Vector class

This commit is contained in:
asri71 2019-03-16 12:23:10 +05:30
parent 5f2257017f
commit 27753bb8d1

View File

@ -2,9 +2,8 @@ package src.main.java.com.dataStructures;
import java.io.Serializable; import java.io.Serializable;
import java.util.EmptyStackException; import java.util.EmptyStackException;
import java.util.Vector;
public class Stack<E> extends Vector implements Serializable { public class Stack<E> implements Serializable {
/** /**
* Inital capacity alloted to stack on object creation * Inital capacity alloted to stack on object creation