Write a class in Java called WordLists that generates useful word lists for scrabble players using this list. Your class should contain the following methods: • WordLists(String fileName): a constructor that takes the name of the dictionary file as the only parameter. • lengthN(int n): returns an array of words of length n. • startsWith(int n, char firstLetter): returns an array of words of length n beginning with the letter firstLetter • containsLetter(int n, char included): returns an array of words of length n containing the letter included but not beginning with it. • vowelHeavy(int n, int m): returns an array of words of length n containing at least m vowels. • multiLetter(int m, char included): returns an array of words with at least m occurrences of the letter included. Write a test class for your WordLists class that tries these methods out and writes the word lists (the arrays of strings) to text files.

Looking for solution of this Assignment?

WHY CHOOSE US?

We deliver quality original papers

Our experts write quality original papers using academic databases.We dont use AI in our work. We refund your money if AI is detected  

Free revisions

We offer our clients multiple free revisions just to ensure you get what you want.

Discounted prices

All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount

100% originality

We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity.We have ZERO TOLERANCE TO USE OF AI

On-time delivery

We will deliver your paper on time even on short notice or  short deadline, overnight essay or even an urgent essay