Create client class that asks for name of valid directory


Assignment task: Create a client class that:

1. Asks for the name of a valid starting directory

2. Processes each file in the starting directory (recursion into subdirectories not required) and reports if the file contains a palindrome and what type of palindrome it is (character, word or line). See the palindrome PowerPoint slides for the types of palindromes.

3. Your client class should have one method named isPalindrome that returns true if its input parameter is a palindrome. This method should use a single comparison technique to determine if the input is a palindrome (i.e. do not write separate isPalindrome methods for each type of palindrome).

4. The output should be in the form of a nicely formatted ASCII table (see example at end of assignment sheet).

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create client class that asks for name of valid directory
Reference No:- TGS03251994

Expected delivery within 24 Hours