Q. What is the purpose of using snake_case for method and variable names in Ruby?

  • (A) To make the code more challenging to read
  • (B) To indicate private methods and variables
  • (C) To emphasize the importance of the code
  • (D) To improve readability and maintain consistency
πŸ’¬ Discuss
βœ… Correct Answer: (D) To improve readability and maintain consistency

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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