I have a Character array (not char array) and I want to convert it into a string by combining all the Characters in the array.
Character
I have tried the following f
Iterate and concatenate approach:
Character[] chars = {new Character('a'),new Character('b'),new Character('c')}; StringBuilder builder = new StringBuilder(); for (Character c : chars) builder.append(c); System.out.println(builder.toString());
Output:
abc