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 "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
Get step-by-step solutions from verified subject matter experts
