Asked • 03/26/19

String concatenation: concat() vs "+" operator?

Assuming String a and b: a += b a = a.concat(b) Under the hood, are they the same thing?

1 Expert Answer

By:

Shao X. answered • 04/14/19

Tutor
4.9 (34)

I am a software engineer at Amazon

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.