Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Would you initialize your strings with single quotes or double quotes?
Answer: Since the data inside the single-quoted string is not parsed for variable substitution, it's always a better idea speed-wise to initialize a string with single quotes, unless you specifically need variable substitution.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook