πŸ“Š Ruby
Q. Which Ruby convention is commonly used for naming predicate methods that return a boolean value?
  • (A) Method names starting with get_
  • (B) Method names ending with ?
  • (C) Method names ending with bool
  • (D) Method names starting with get_
πŸ’¬ Discuss
βœ… Correct Answer: (B) Method names ending with ?

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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