public class Main { public static void main(String[] args) { char[] charArray = new char[] { 'a', 'b', 'c' }; String str = new String(charArray); System.out.println(str); } } //abc