0
Complete the code to create the string containing double quotes?.. I cant understand this question..
2 odpowiedzi
+ 2
Strings can start and finish either with single quotes, and double quotes.
Lets assume that you need to create a string containing Seetha's question. you can do it in two ways: "Seetha's question" note that your string starts and finishes with double quotes - so you can easily put a single quote inside, no need for an escape character "\". However, you wanted to have a double quote within your string, you would need a "\" like so "Seetha\"s question". hope this helps ;)
+ 1
yeah... verymuch useful. thank you