Creates a new string containing the characters in the specified character array. Modifying the character array after creating the string has no effect on the string. @param data the array of characters. @return the new string. @throws NullPointerException if data is {
(char[] data)
| 1560 | * if {@code data} is {@code null}. |
| 1561 | */ |
| 1562 | public static String valueOf(char[] data) { |
| 1563 | return new String(data, 0, data.length); |
| 1564 | } |
| 1565 | |
| 1566 | /** |
| 1567 | * Creates a new string containing the specified characters in the character |
no test coverage detected