πŸ“Š Ruby
Q. What is a "predicate method" in Ruby?
  • (A) A method that returns the result of a comparison between two objects
  • (B) A method that takes a block as an argument
  • (C) A method that raises an exception when called with invalid arguments
  • (D) A method that returns a boolean value indicating a condition
πŸ’¬ Discuss
βœ… Correct Answer: (D) A method that returns a boolean value indicating a condition

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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