πŸ“Š Ruby
Q. In Ruby, what does the `capitalize` method do when used with strings?
  • (A) Converts the first character to uppercase
  • (B) Converts the entire string to uppercase
  • (C) Converts the first character to lowercase
  • (D) Converts the entire string to lowercase
πŸ’¬ Discuss
βœ… Correct Answer: (A) Converts the first character to uppercase

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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