CharSequence listOfWords = ("word");
the code above successfully defines listOfWords
as: "word
"
But I need listOfWorlds
to have lots of words in it, not just the single "word
".
CharSequence listOfWords = ("word")("secondword");
above code is what I want, but obviously incorrect.
I'd like to be able to call listOfWords
and have it be defined as "word" OR "secondword". Is CharSequence
even the correct variable here? Any help?