[HD Pg 326, Sec. 12.1.1 - creating-strings-through-concatenation]
Moderator: admin
-
- Posts: 221
- Joined: Mon Nov 26, 2018 2:43 pm
- Contact:
[HD Pg 326, Sec. 12.1.1 - creating-strings-through-concatenation]
Is there a time when + operator is better than concat() method (or visa versa) to concatenate two strings in Java? Thanks
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: [HD Pg 326, Sec. 12.1.1 - creating-strings-through-concatenation]
It is better in terms of ease of use and code readability but other than that not much.
Who is online
Users browsing this forum: No registered users and 6 guests