πŸ“Š 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) constantName(value)
πŸ’¬ Discuss
βœ… Correct Answer: (A) CONSTANT_NAME = value

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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