Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Data Structures and Algorithms (CITS2200).
RSS cloud
Jump to:

Lab 3 Method name not working (override?)

1 of 251 articles shown, currently no other people reading this forum.
Date: Mon 23rd Mar, 11:20am
For my pushleft and pushright methods I have "public void pushLeft(Object c) throws 
Overflow {" but I'm getting a name clash error (Name clash: The method 
pushLeft(Object) of type DequeCyclic has the same erasure as pushLeft(E) of type 
Deque<E> but does not override it). I've tried putting           before the method 
but that doesn't work. What can I do to fix this?

Related articles

Lab 3 Method name not working (override?) (all 4) RSS
├─ THIS   Mon 23rd Mar, 11:20am, ANONYMOUS
├─ reply 1   Mon 23rd Mar, 12:01pm, ANONYMOUS  O.P.
├─ reply 2   Mon 23rd Mar, 9:03pm, Kimberley H.
└─ reply 3   Wed 25th Mar, 8:54am, Michael C.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020