Converting more than one char back to a string.

I know this:String s = Character.toString(letter);will convert one char back to a string.What about if you have more than one char, how do you convert them back to a string?
[201 byte] By [SIR_SLEa] at [2007-11-27 2:56:28]
# 1

allow me to spoon-feed you

char[] chars = {'s', 't', 'r', 'i', 'n', 'g', 's' };

String string = new String(chars);

georgemca at 2007-7-12 3:34:13 > top of Java-index,Java Essentials,New To Java...
# 2

When you have more than one char, you probably have them in an array. In that case you can use the String(char[]) constructor.char[] hello = new char[5];

hello[0] = 'h';

hello[1] = 'e';

hello[2] = 'l';

hello[3] = 'l';

hello[4] = 'o';

String salute = new String(hello);

jsalonena at 2007-7-12 3:34:13 > top of Java-index,Java Essentials,New To Java...