use*_*603 1 java arrays string character-arrays
我有一个类型char和字符串数组,我将从键盘中介绍.任何人都可以告诉我如何在char数组中引入字符串的每个字符?
char
Sum*_*mit 7
您不需要提前创建数组.这是代码
String s; //this is your string which you enter from keyboard char[] c=s.toCharArray();
归档时间:
14 年,6 月 前
查看次数:
209 次
最近记录:
14 年,3 月 前