generics issue
Wondering if someone can help me out with this...I am getting the format from another class which has similar structure from what I want my VectorBag to be...
Having issues with "The type E is not generic; it cannot be parameterized with arguments <E>" which is pointing at "public VectorBag(E<E> c)" If I take the <E> out it still errors with "The constructor Vector(E) is undefined"
import java.util.Vector;
publicclass VectorBag<E>extends Vector{
public VectorBag(){
super();
}
public VectorBag(E<E> c){
super(c);
}
Message was edited by:
Devin

