java
given a text file (data1.txt) that consists of different garbage strings.1.Create a new file, from data1.txt, which contains all the strings from theprevious file with the following constraints:-No special characters or digits must be in the new string-No repetition of letters in the new string• Save the newly generated text-file as data2.txtThe following example in table 1 shows what your output file should contain.data1.txt data2.txtf5@p fpp&ott6 potInstructions:Create a class cleanFile to read in data1.txtClean the data inside the files following the rules in the above exampleWrite the cleaned data into data2.txt
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here