Question: String s 1 = Hello world; String s 2 = s 1 ; Identify the true statements about the code above. Select ALL that apply.
String s "Hello world";
String s s;
Identify the true statements about the code above. Select ALL that apply.
Question options:
The s variable holds the string "Hello world".
The s variable holds the string "Hello world".
The s variable holds a reference to the string "Hello world".
The s variable holds a reference to the string "Hello world".
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
