Question: string _ 1 = 'hello there' string _ 2 = hello there A student defined the above strings and didn't realize they'd used single vs
string 'hello there'
string "hello there"
A student defined the above strings and didn't realize they'd used single vs double quotes. Later in the code, the two strings are compared. What happens?
Group of answer choices
An error is flagged because strings must be declared with double quotes only
An error is flagged because strings must be declared with single quotes only
They are different, so the comparison returns False
The are equal, so the comparison returns True
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
