Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error: cannot find symbol implements..

calistoknightSep 28 2013 — edited Sep 30 2013

I have an interface and I'm trying to implement.

package data_structures;

public interface ListADT<E> extends Iterable<E> {

//Method Signatures

}

and

package data_structures;

public class LinkedListDS<E> implements ListADT<E> {

//Code

}

And when I try to compile the class I get

--------------------

LinkedListDS.java:3 error: cannot find symbol

public class LinkedListDS<E> implements ListADT<E> {

____________________________________^

symbol: class ListADT

--------------------

And I'm not really sure what I'm doing wrong here or what exactly Java wants me to do to correct this error.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 28 2013
Added on Sep 28 2013
1 comment
466 views