Java String toCharArray() | Programiz D11 Phase 2
The Java String toCharArray() method converts the string to a char array and returns it. In this tutorial, you will learn about the Java String toCharArray() method with the help of an example.toCharArray() Return Value. returns a char array. Example: Java String toCharArray().