πŸ“Š Ruby
Q. Which of the following is the correct way to define a constant in Ruby?
  • (A) CONSTANT_NAME = value
  • (B) constant_name = value
  • (C) CONSTANT_NAME : value
  • (D) constant name = value
πŸ’¬ Discuss
βœ… Correct Answer: (A) CONSTANT_NAME = value

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
125
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate