Nov 8, 2017

Concatenate Strings in Java

Concatenate Strings in Java

If your goal is to only ever join two strings, String.concat is faster. If you need to join more than two, or in the future adding more than one concatenation, an explicit StringBuilder/StringBuffer is faster.

Post a Comment

Featured Post

Setup Chinese Input Method in Ubuntu 17.10 Artful

sudo apt install ibus-sunpinyin After either of those commands do not forget to restart the IBus daemon ibus restart You might need t...