• 2022-06-07
    有如下代码: StringBuffer buffer = new StringBuffer("Happy Birthday");buffer.insert(2, '5');System.out.println(buffer);则最后输出的结果是( )
    A: Hap5py Birthday
    B: H5appy Birthday
    C: Ha5py Birthday
    D: Ha5ppy Birthday