Practice #3
Lesson 11 of 11 in Coddy's File Handling in Java course.
Challenge
EasyCreate a function named isWordExists that gets a word and a file name and returns true if the word exists in the file, otherwise false.
Try it yourself
class IsWordExists {
public static boolean isWordExists(String word, String filename) {
// Write code here
}
}