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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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