πŸ“Š Ruby
Q. What does the month method return for a Date object in Ruby?
  • (A) Returns the day of the month (1-31)
  • (B) Returns the month of the year (1-12)
  • (C) Returns the year of the Date object
  • (D) Returns the day of the month (1-31)
πŸ’¬ Discuss
βœ… Correct Answer: (B) Returns the month of the year (1-12)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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