Question: Using Java Object Oriented Programming, ceate a method within a class called FileSearch. The method should serach for a word in a text file called
Using Java Object Oriented Programming, ceate a method within a class called FileSearch. The method should serach for a word in a text file called words.txt, and then say whether the word is present in the file or not.
No main should be created. Only Methods and a junit test file (FileSearchTest) that should test for a word that is in the file and a word that is not.
the file words.txt is an existing file. No jeed to create a new one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
