M

Mr. Dubey • 77.37K Points
Coach

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_
  • Correct Answer - Option(B)
  • Views: 73
  • Filed under category Ruby

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics