Exercises Flashcards

1
Q

code multiple ways to put “John” and “Doe” together to get “John Doe”.

A
"John" + " " + "Doe"
"John" + " Doe"
"John "<< "Doe"
"John ".concat "Doe"
"Doe".prepend "John "
How well did you know this?
1
Not at all
2
3
4
5
Perfectly