Question: If s 1 and s 2 are string objects, s 1 = = s 2 is true when Question 9 Answer a . None of
If s and s are string objects, s s is true when
Question Answer
a
None of these because string objects cannot be compared with relational operators.
b
None of these because in each case one or more characters in the strings have different ASCII codes.
c
s "dog" and s "DOG".
d
s "lion" and s "lioness".
e
s "cat" and s "cat
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
