【javaSE】Exception in thread "main" java.lang.ArrayStoreException: java.lang.Integer
public LoopQueue(int capacity){ data = (E [])new Object[capacity+1];//+1 队列中预留一个空间 用于比较是否队列满 front = 0;//初始化头指针 tail = 0; size = 0; } public void enquene(E e){...