Beginner Ruby
Q15 / 100

How do you concatenate two strings "Hello" and "World" with a space between them?

Correct! Well done.

Incorrect.

The correct answer is A) "Hello" + " " + "World"

A

Correct Answer

"Hello" + " " + "World"

Explanation

The "+" operator concatenates strings in Ruby; "<<" can also append in place.

Progress
15/100