Question: Suppose that sOne and sTwo are two legally defined String objects. String sOne = . . . some legal initial value...; String sTwo = .
Suppose that sOne and sTwo are two legally defined String objects.
String sOne some legal initial value...;
String sTwo some legal initial value...;
Then the comparison:
sOne sTwo
will always produce the same boolean values as the comparison:
sOne.equals sTwo
The statement is true
The statement is false
There is not enough information given to answer this question
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
