Question: 1 - 1 - 6 - 1 2 : Given the following code segment, what will the value of s 1 be after this executes?

1-1-6-12: Given the following code segment, what will the value of s1 be after this executes?
String s1= HiThere;
String s2=s1;
String s3=s2;
String s4=s1;
s2=s2.tolowerCase();
s3=s3.toUpperCase();
s4= null;
A. Hi There
B. hi there
C. HI THERE
D. null
E. hl tHERE
1 - 1 - 6 - 1 2 : Given the following code

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!