Hello,
java noob here, in the code below, why is it when declaring a class that '<E>' is used in stead of the brackets ? '(E)'??
public class LLStack**<E>** implements Stack<E>{
private Node**<E> **head ;
public LLStack ( ){ head = nul l ;} //creates an empty stack
public boolean isEmpty ( ){ . . . }
public E top ( ) throws EmptyStackException{ . . . }
public void push (E e){ . . . }
public E pop ( ) throws EmptyStackException{ . . . }
Thanks in advance!!!!