So any addition with a string gives you another string?


#1

Question

So any addition with a string gives you another string?

Answer

With any primitive data type (the ones you’ve learned so far), yes. Performing string interpolation converts whatever data type you’re adding to the string into a string so that it could be added.