Forum Stats

  • 3,827,999 Users
  • 2,260,846 Discussions
  • 7,897,427 Comments

Discussions

Error: cannot find symbol implements..

calistoknight
calistoknight Member Posts: 3
edited Sep 30, 2013 3:22AM in Java Programming

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.

Tagged:

Answers

This discussion has been closed.