Is there a way to concatenate char to form a String in Java?
char
String
Example:
String str; Char a, b, c; a = \'i\'; b = \'c\'; c = \
Use str = ""+a+b+c;
str = ""+a+b+c;
Here the first + is String concat, so the result will be a String. Note where the "" lies is important.
+
""
Or (maybe) better, use a StringBuilder.
StringBuilder