Ruby - String Operations
Which of the following is the best way to add "Ruby" to the string variable
lang without creating a new string?lang without creating a new string?<< operator appends to the original string without creating a new one.<< is the simplest and most common for this purpose.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions