what is the difference between a single quote and double quote?
Answer Posted / Sandeep Kumar Khare
In Ruby, both single quotes (') and double quotes (") can be used to create strings. The main differences are that single quotes do not interpret escape sequences or variable interpolation, whereas double quotes allow for both.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers