Q. Which of the following is a Ruby symbol?

  • (A) :name
  • (B) 'name'
  • (C) "name"
  • (D) #name
πŸ’¬ Discuss
βœ… Correct Answer: (A) :name
Explanation: Symbols start with a colon ':' in Ruby.
Explanation by: Rati Dubey
Symbols start with a colon ':' in Ruby.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
111
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
86%
Success Rate