问题 单项选择题

字符串,str="welcometoBeijing"进行下列操作处理,描述结果错误的是()

A.str.substring(4,9)返回值是"onet"

B.str.length的返回值是"18"

C.str.charAt("4")返回值是"e"

D.str.toUpperCase()的返回值是"welcometoBeijing"

答案

参考答案:A

单项选择题
单项选择题