STR Decl Join Immutable List
STR Decl Join Immutable List
Syntax:
=======
String.join("delimiter","character Sequence 1","Character Sequence 2");
Logic:
Create a StringBuilder and then append it till the last but one element and append
the delimoiter
result.append(args[i]).append(delimiter);
and then at last add the
.append(args[i]) and then convert the String
=========================================================
For Ex:
Arrays.Stream()