Question: Exercise 2 - Comparing the contents of two files. Write a program Similar.java that prompts in its main method the user to enter two filenames

Exercise 2 - Comparing the contents of two files. Write a program Similar.java that prompts in its main method the user to enter two filenames then invokes a method called isSimilar that takes two Scanner objects as input parameters and returns a Boolean value (true or false) depending on whether or not the files have the same content. Your isSimilar should check the files character by character and ignore the case (upper case and lower case). You must write the appropriate test files to test your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
