Created
February 7, 2016 04:41
-
-
Save dangnhdev/5c8ee8a357d92880fac1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* @author NguyenHaiDang@ActiveStudy | |
*/ | |
public class StringJoinerExample { | |
public static void main(String[] args) { | |
String s1 = "Hello"; | |
String s2 = "World"; | |
String s = s1 + s2; //it works! | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment