Question: Write a Java Program that performs the following functionalities: A. Enter a new main sentence B. Find a String C. Find all incidents of a

Write a Java Program that performs the following functionalities: A. Enter a new main sentence B. Find a String C. Find all incidents of a String D. Find and Replace a String E. Replace all the incidents of a String F. Count the number of words G. Count a letters occurrences H. Count the total number of letters I. Delete all the occurrences of a word J. Exit The program will display a menu with each option above, and then ask the user to enter their choice. There should also be a tenth option (option J) to quit, in which case, the program will simply display a goodbye message.

Need help!! In java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!