Question: SR 3.6 Assume s1, s2, and 33 are String variables initialized to Amanda, Bobby, and Chris, respectively. Which String variable or variables are changed

SR 3.6 Assume s1, s2, and 33 are String variables initialized to

SR 3.6 Assume s1, s2, and 33 are String variables initialized to "Amanda", "Bobby", and "Chris", respectively. Which String variable or variables are changed by each of the following statements? a. System.out.println(s1); b. sis3.toLowerCase(); C. System.out.println(s2.replace('B', 'M')); d. s3s2.concat(s1);

Step by Step Solution

3.43 Rating (156 Votes )

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 Java Software Solutions Questions!