A

Admin • 833K Points
Coach

Q. What is the purpose of the advance method for a Time object in Ruby?

  • (A) Subtracts a specified number of seconds, minutes, hours, days, months, or years from the Time object
  • (B) Sets the Time object to the beginning of the current day
  • (C) Adds a specified number of seconds, minutes, hours, days, months, or years to the Time object
  • (D) Sets the Time object to the beginning of the current month
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category Ruby
  • Hashtags:

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.