已知String s="ABCDEFGHIJABC",以下说法错误的是
A.s.indexOf("C")等于2
B.s.indexOf("EFG",2)等于4
C.s.indexOf("A",7)等于10
D.s.indexOf("D",4)等于3
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/438105.html
上一篇:利润中心与成本中心非常相似,但是它不但考虑成本,也不考虑销售所取得的收入。
下一篇:One of the oldest, and let’s face it, most bizarre sports from Britain is golf. Originating from Scotland in the 15th century, the game involves whacking a small white ball around a large field and trying to make it land in a series of eighteen tiny