Write a declaration for a String variable called change and initialize it to the characters stored in another String object called original with all 'e' characters changed to 'j'.

What will be an ideal response?

```
String change = original.replace('e', 'j');
```

Computer Science & Information Technology

You might also like to view...

Technical editors do not specifically address grammatical and spelling errors

Indicate whether the statement is true or false

Computer Science & Information Technology

In a payroll program, a user could enter the number of hours worked, pay rate, and then select whether he or she are a full-time or part-time employee to submit his or her input. This last selection is an example of using a ComboBox object to handle a(n) ____.

A. value action B. return index C. decision tree D. event

Computer Science & Information Technology