2.10

来源:互联网 发布:极右势力的网络保护伞 编辑:程序博客网 时间:2024/04/29 08:46
/*target:print three String value
 * methods:use array and print;
 */
//{s:A B C};
public class Test10 {
public static void main(String[] args) {
String s="ABC";
char c[]=s.toCharArray();
System.out.println(c[0]);
System.out.println(c[1]);
System.out.println(c[2]);
}
}

//I'm not sure about the result,sorry...
0 0
原创粉丝点击