How to convert String to Char Array in java

Java String’s toCharArray() method can be used to convert String to char Array in java. It is simplest method to convert String to char Array.

Example:

When you run above program, you will get below output:

Other String Programs are :

String :

Add Comment