Question: How does the String Capital compare to the String card? Question 2 0 Select one: You cannot compare the two strings since they have different

How does the String "Capital" compare to the String "card"?
Question 20Select one:
You cannot compare the two strings since they have different lengths.
The result will be boolean false since the two strings are different.
"Capital" is greater than "card"
"Capital" is less than "card"
"Capital" is equal to "card" since they both start with the character 'c'

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 Programming Questions!