单选题:将字串s中的所有字母变为小写字母的方法是( )。
将字串s中的所有字母变为小写字母的方法是( )。 @[B](2)
A. s.toSmallCase()
B. s.toLowerCase()
C. s.toUpperCase()
D. s.toUpperChars()
A.s.toSmallCase()
B.s.toLowerCase()
C.s.toUpperCase()
D.s.toUpperChars()
答案:B
A. s.toSmallCase()
B. s.toLowerCase()
C. s.toUpperCase()
D. s.toUpperChars()
A.s.toSmallCase()
B.s.toLowerCase()
C.s.toUpperCase()
D.s.toUpperChars()
答案:B