Can you help me how to fix the size in the below code? I tried using the usual methods with Object
public class DequeCyclic<E>{
E[] queue;
public DequeCyclic(int size) {
DequeCyclic<E> queue = new DequeCyclic<E>(size);
}
}
and queue = new E[size]
but it didn't work