c*******n 发帖数: 112 | 1 /*
Below is an interface representing a dictionary, and two different
implementations of the dictionary interface. Assume you are writing
a program that needs to make use of a dictionary. How would you
choose which implementation to use?
*/
public interface Dictionary{
/**
* Adds an entry to a dictionary.
*/
public void addEntry( String word, String definition );
/**
* Removes an entry from a dictionary.
*/
public void | g*****g 发帖数: 34805 | 2 To be honest, we don't mind your asking interview questions here.
But you should respect people's time on it. Get together your
thought on interview question and get straight to the point that
you are confused, and you'll be better served.
【在 c*******n 的大作中提到】 : /* : Below is an interface representing a dictionary, and two different : implementations of the dictionary interface. Assume you are writing : a program that needs to make use of a dictionary. How would you : choose which implementation to use? : */ : public interface Dictionary{ : : /** : * Adds an entry to a dictionary.
| c*******n 发帖数: 112 | 3 you are think too highly of yourself. I do not have any confusion regarding
this question.
To share interview question could benifit other people, maybe not you. But,
you should discourage this behavior. |
|