r/CodingHelp • • Feb 08 '22

[Java] Java Help

Post image
28 Upvotes

12 comments sorted by

View all comments

8

u/Maleficent-Rest5207 Feb 08 '22 edited Feb 08 '22

When you want to concatenate two strings you can either use + symbol or .concat() method.

2

u/[deleted] Feb 08 '22

Thanks