+ 1
What's the difference between single quotes and double quotes in strings?
2 Respostas
+ 9
No difference, you can use them both. Whichever you start the string declaration with, you can use the other one as a regular character inside the string with no need of escaping it.
https://www.sololearn.com/discuss/50552/?ref=app
https://www.sololearn.com/discuss/136/?ref=app
+ 2
it's all the same thing,just tgat sometimes single strings could act as a character I.e in some languages