ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Why is gets not preferred instead of gets.chomp?
Correct Answer: A — Gets add an extra new line while chomp removes it
gets.chomp will remove the extra blank space.