Question: Question 7 2 p t s If s 1 and s 2 are string objects, s 1 = = s 2 is true when A

Question 7
2pts
If s1 and s2 are string objects, s1==s2 is true when
A)s1= "lion" and s2= "lioness"
B)s1= "dog" and s2= "DOG"
C)s1= "cat" and s2= "cat "
D) None of these because one or more characters in the strings have different ASCII codes.
E) None of these because string objects cannot be compared with relational operators.
 Question 7 2pts If s1 and s2 are string objects, s1==s2

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!