Question: Tried adding the file but its too big 11:59 PM The attached file, enable1. bxt is the list of all words permissible to play in
11:59 PM The attached file, enable1. bxt is the list of all words permissible to play in a Words with Friends game. It is sorted in alphabetical order, one word per line. All the words are lowercase. You are to write a program which will 1. Create an ArrayList to hold String objects 2 Read the file enable1.td into the array, counting the total number of words in the file. Use a method to do this. The method header should look lke this public statie void readkordt.ist (arrayList wordlist) 3. Close the input file Use the size mothod of the ArrayList to display the number of words in the fie 5. Ask the user input a word from the keyboard. 6 Convert the word to l 7. Use a method to on the wordlist to determine whether it is a valid Words with Friends word. The method will return true if the d is in the wordlist it returns false otherwise. The method header should look like this: public 8. Ask the user if he/she wishes to search for another word in the wordlist, and repeat from step 4 if so. Upload your solution (java file) to Blackboard make sure to click Submit lick Sare us Drujt chnges and continue working leter, When or ehick Caneel to quit without sacing changes CancelSavo D PrtScn Home End 2 9
Step by Step Solution
There are 3 Steps involved in it
Heres how you can implement the program in Java Create an ArrayList to hold words Read words from the file into the ArrayList Close the file after rea... View full answer
Get step-by-step solutions from verified subject matter experts
