I am doing a gui program.
How do i sort the words which have only the letter'e' in them??
Suppose i have the string,"Hello is a pleasing word"
I want only the words
HOW DO I DO THIS WITHOUT USING ARRAYS??????.
Ok and i have to write this in a method.
Here is the method's headerand it 's description
//Returns a string that concatenates all "offending"
// words from text that contain letter; the words are
// seperated by '\n' characters; the returned string
// does not contain duplicate words: each word occurs
// only once; there are no punctuation or whitespace
// characters in the returned string
public String allWordsWith(char letter)