Question: Given the following two lines of code, what can be said about s 1 and s 2 ? String s 1 = mid _ 1

Given the following two lines of code, what can be said about s1 and s2?
String s1="mid_1".toUpperCase()+"_113";
String s2=new String("MID_1_113");

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