πŸ“Š Ruby
Q. single-quoted strings don`t allow ?
  • (A) substitution
  • (B) backslash notation
  • (C) single-quoted strings allow substitution and backslash notation.
  • (D) single-quoted strings don`t allow substitution and allow backslash notation.
πŸ’¬ Discuss
βœ… Correct Answer: (D) single-quoted strings don`t allow substitution and allow backslash notation.

Explanation: single-quoted strings don`t allow substitution and allow backslash notation only for \ and '.

Explanation by: Vinay Kumar
single-quoted strings don`t allow substitution and allow backslash notation only for \ and '.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
353
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Vinay Kumar
Publisher
πŸ“ˆ
95%
Success Rate