πŸ“Š Ruby
Q. What does the 'return' keyword do in Ruby methods?
  • (A) Exits the method with a value
  • (B) Prints to console
  • (C) Converts to integer
  • (D) Continues the loop
πŸ’¬ Discuss
βœ… Correct Answer: (A) Exits the method with a value

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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