Suppose s1 and s2 are two strings. What is the result of the following code?

s1.equals(s2) == s2.equals(s1)

a. true
b. false

a. true
s1.equals(s2) and s2.equals(s1) are the same.

Computer Science & Information Technology

You might also like to view...

How do you control the internal timeline of an object on the Stage?

What will be an ideal response?

Computer Science & Information Technology

Advantages of typedef do not include

a) making programs more portable by allowing data types to be eas-ily changed to meet system specifications. b) making type names shorter. c) making programs more readable. d) increasing the efficiency of accessing struct member variables.

Computer Science & Information Technology