πŸ“Š Ruby
Q. What is the correct way to declare a variable in Ruby without assigning a value?
  • (A) var_name
  • (B) var_name = nil
  • (C) var_name = ""
  • (D) var_name = nil
πŸ’¬ Discuss
βœ… Correct Answer: (A) var_name

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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