I fixed it.. Just had to call the methods for the Deque class and set the deque in the Deque class to public and the make queue array equal to the deque array
class Deque {
public Object[]...
Type: Posts; User: chalupabatman
I fixed it.. Just had to call the methods for the Deque class and set the deque in the Deque class to public and the make queue array equal to the deque array
class Deque {
public Object[]...
well I put the extends Deque on my Queue class like so:
class Queue extends Deque{
Deque[] queue;
int front, rear, count;
private final int MAX_SIZE = 5;
public Queue() {
queue =...
Hello everyone, so I have this assignment where I have to create a Deque class and a Queue class and to be more efficient my professor wants me to create the deque class for then use the methods made...