• 2022-05-26
    已知:String s = "AB12ab12";String s1= s.replace("12","CD");String s2= s.replaceAll("12","CD");则s1、s2的值分别为:
    A: ABCDab12, ABCDabCD
    B: ABCDabCD, ABCDab12
    C: AB12abCD, ABCDab12
    D: ABCDabCD, ABCDabCD