πŸ“Š Ruby
Q. How do you find the number of weeks in the current year in Ruby?
  • (A) Time.now.weeks_in_year
  • (B) DateTime.current.weeks_in_year
  • (C) Date.today.weeks_in_year
  • (D) Date.today.days_in_year
πŸ’¬ Discuss
βœ… Correct Answer: (C) Date.today.weeks_in_year

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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