将字符串转换为字符数组。

char[] arr = 字符串对象名.toCharArray();

posted @ 2019-11-05 09:57  一块  阅读(429)  评论(0编辑  收藏  举报