Java Interface usage

V

Virgil Green

Hemal said:
Rod wrote:

And then many other wrote. But I don't think any of the responses
answer OP's question, which was:


Difficult to to say. I wonder why OP chose to skip the implementation
of the one constructor that accepts a String array. But my guess is
that the objects SomeClass work with arrays of string that are subsets
of SOME_WORDS and the instance created using default constructor works
with the entire set SOME_WORDS.

I've assumed that the OPs code was supplying the *default* word list that is
to be used when the no-arg constructor is used.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top