注意:此页面搜索的是所有试题
Java语言中,String str=”123456789”,System.out.println(str.indexOf(“5”)),输出结果是( )。
A6.0
B5.0
C4.0
D3.0

参考答案