πŸ“Š Ruby
Q. How do you define a constant in Ruby?
  • (A) Starting with uppercase letter
  • (B) Starting with lowercase letter
  • (C) Starting with underscore
  • (D) Starting with $ sign
πŸ’¬ Discuss
βœ… Correct Answer: (A) Starting with uppercase letter

Explanation: Constants begin with an uppercase letter in Ruby.

Explanation by: Rati Dubey
Constants begin with an uppercase letter in Ruby.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
52
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
91%
Success Rate