Java convert string to int. Char java. (new string[5])[0] = 5;. (new string[5])[0] = new string[5];. new string java.