I have a char array called testArray and currently its holding for example a,b,c,d in its elements. I am trying to convert the letters in the char array into a string and theres a problem. new String(testArray); is underlined and the error is: the constructor string (char) is undefined. I have populated my array using a for loop.
char testArray  = new char  ; String newString1 = new String(testArray); System.out.println(newString1);