public class demo1
{
public static void main(String args[])
{
char[] arr = {'h','e','l','l','o'};
String str = new String(arr);
System.out.println(str);
}
}Java
Program to convert a array to a string.

Written by
View ProfileNikhil Juneja
Passionate software developer and technical contributor at TutorialsLink.
