Question: After the following code is executed, select ALL answers which evaluate as true: String s 1 = new String ( Java ) ;

After the following code is executed, select ALL answers which evaluate as true:
String s1= new String("Java");
String s2= new String("Java");
String s3= s2;
Multiple choice answers:
s2== s3
s1== s2
s1.equals(s2)
s2.equals(s3)
s1== s3

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!