Link to home
Start Free TrialLog in
Avatar of Simon Leung
Simon Leung

asked on

Java Code query

I want to use another Java class (MyDeque class) defined in another file but it doesn't work. Any idea ?

GenerateDeque.javaDLNode.java
ASKER CERTIFIED SOLUTION
Avatar of dpearson
dpearson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can make these changes :

DLNode.MyDeque D = new DLNode.MyDeque(); 

public static class MyDeque implements Deque {

public static class DequeEmptyException extends RuntimeException {

Open in new window