// Method #1String stringValueOf = String.valueOf('c'); // most efficient
// Method #2String stringValueOfCharArray = String.valueOf(new char[]{x});
// Method #3String characterToString = Character.toString('c');
// Method #4String characterObjectToString = new Character('c').toString();
// Method #5// Although this approach seems very simple,// this is less efficient because the concatenation// expands to a StringBuilder.String concatBlankString = 'c' + "";
// Method #6String fromCharArray = new String(new char[]{x});
char c = 'a';String s = String.valueOf(c); // fastest + memory efficientString s = Character.toString(c);String s = new String(new char[]{c});String s = String.valueOf(new char[]{c});String s = new Character(c).toString();String s = "" + c; // slowest + memory inefficient
char c = 'c';
String s = Character.toString(c); // Most efficient way
s = new Character(c).toString(); // Same as above except new Character objects needs to be garbage-collected
s = c + ""; // Least efficient and most memory-inefficient, but common amongst beginners because of its simplicity
s = String.valueOf(c); // Also quite common
s = String.format("%c", c); // Not common
Formatter formatter = new Formatter();s = formatter.format("%c", c).toString(); // Same as aboveformatter.close();