Hi. If given an arraylist in an interface like this:
interface Dictionary {
public boolean hasWord(String word);
public ArrayList<String> suggestions( String word );
public void addWord( String word );
}
How do I use it?
If I try to use it as a normal arraylist, I get the error that the class implementing the interface is "not abstract and does not override abstract method suggestions(java.lang.String) in Dictionary"
How do I use it?