Java的字符串String放入char数组中


public class Test {
    public static void main(String[] args) {
        String string = "paolong";
        char[] c = string.toCharArray();
        System.out.println(c);
    }
}