• 2022-06-06
    运行如下程序,输出结果是()。StringBuffer sb = new StringBuffer("good morning!");String sub = sb.substring(0, 8);System.out.println(sub);System.out.print("/");char c = sb.charAt(6);System.out.println(c);
    A: good mor/o
    B: good morn/o
    C: good morn/m
    D: good mor/o
  • 举一反三