答案:B
29999999999+2999999999+…+299+29.
下面的程序是求字符串的长度及每一个位置上的字符。请在每条横线处填写一条语句,使程序的功能完整。 注意;请勿改动main()主方法和其他已有的语句内容,仅在横线处填入适当的语句。 public class CharAtOp{public static void main(String args[ ]){ String str="abcdef"; int size= System.out.println("字符串str的长度为: "+size);for(int m=0;___________________m++) { _______________________ System.out.println("str中的第"+m+"个字符是: "+c); }} }