Question: Need help with just the first two sections, the file we use that has the words on it is called biglist.txt, the user inputs 7

Need help with just the first two sections, the file we use that has the words on it is called biglist.txt, the user inputs 7 characters and if there is a space, that means it could be any letter  Need help with just the first two sections, the file we
use that has the words on it is called biglist.txt, the user

8 import java.io.* 9 import java.util.*; 0 public class Scrabble /* Counts the number of lines for the given file 5 public static int countLines(String filename) int count = 0; // to be completed return count; * Read all the words in the given file and return them * in a String array Uses countLines to figure out the how big the array * of words has to be 8 public static Stringt) readwordList(String filename String words[] { "ab", "abb", "abe", "bee" , "car" }; // to be completedalso need to change how words[] is declared return words

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!