Question: onsider the following code segment. String s 1 = dog ; String s 2 = dog ; String s 3 = s 1 ; Which

onsider the following code segment.
String s1=dog;
String s2=dog;
String s3= s1;
Which of the following expressions is true?
I s1== s2
II s1== s3
III s2== s3
a.
I only
b.
II only
c.
II and III only
d.
I, II, and III

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!