import java.util.Scanner; public class ReplaceXX { public static void main(String args[]){ Scanner scanner = new Scanner(System.in); String str; System.out.print("Enter a string: "); str = scanner.next(); String words[] = str.split(";"); for(String word: words){ System.out.println(word.replaceAll("xx","a")); } } }
WORK AREA Goal: Practice using methods in the Character and String classes Assume a string str...
Overview: The goal of this assignment is to implement a simple spell checker using a hash table. You will be given the basic guidelines for your implementation, but other than that you are free to determine and implement the exact classes and methods that you might need. Your spell-checker will be reading from two input files. The first file is a dictionary containing one word per line. The program should read the dictionary and insert the words into a hash...