21.8k views
4 votes
Word1 = "rain"

word2 = "bow"

What is the correct way to concatenate the strings?

a
newWord = word1 == word2
b
newWord = word1 + word2
c
newWord = word1 * word2
d
newWord = word1 - word2

2 Answers

1 vote
the correct answer is b
User Javito
by
5.5k points
1 vote

Answer:

B NewWord = word1 + word2

Step-by-step explanation:

i did the quiz

User DannyLane
by
5.9k points