Question: public class TextMethods { / / 1 . Declare an appropriate variable to store the number of characters / / 2 . Get user input

public class TextMethods
{
//1. Declare an appropriate variable to store the number of characters
//2. Get user input for Quote
//3. Get user input for Find
//4. Get user input for Replace
//5. Replace all occurances of the Find word contained in Quote with the Replace word
//6. Determine the number of characters in the updated Quote
public static void main(String[] args)
{
// CONSTANT DECLARATION AND INITIALIZATION
// VARIABLE DECLARATION
String quote;
String find;
String replace;

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 Programming Questions!