I'm trying to write a program that reads words from one array and then finds their definitions in another array.
Here is what I have:
Here is what I have:
Code:
import java.io.IOException;
public class Sampler{
public static void main(String[] args) throws IOException{
String[] wordArray ={"Intelligible","Cripple","Bleeper","Accumulate","Envelope","Horse","Gland","Oatmeal","Quarantine","Strait"};
ReadDictionaryLines rf = new ReadDictionaryLines(); // class that reads dictionary.txt file
String filename = "dictionary.txt";
String[] lines = rf.readLines(filename); // Array holds dictionary lines
}
}
Comment