Im just going to be upfront about this being for homework but I currently am not able to download java and check but will the code bellow cause any conversion errors?
char sentence[] = { 'H', 'o', 'w', ' ', 'a', 'r', 'e', ' ', 'y', 'o', 'u'};
String output = "The sentence is: ";
for(int i = 0; 1 < sentence.length; i++)
output+= sentence[i];
System.out.println(output);