πŸ“Š Ruby
Q. What will 'puts' method do in Ruby?
  • (A) Print text without a newline
  • (B) Print text with a newline
  • (C) Store text in a variable
  • (D) Comment the text
πŸ’¬ Discuss
βœ… Correct Answer: (B) Print text with a newline

Explanation: 'puts' prints the output followed by a newline.

Explanation by: Rati Dubey
'puts' prints the output followed by a newline.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
41
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
85%
Success Rate