26mm是多少像素:java问题

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/07 02:33:33
str2 = "One Two Three One";
idx = str2.indexOf("One");
System.out.println("Index of first occurrence of One: " + idx);
idx = str2.lastIndexOf("One");
System.out.println("Index of last occurrence of One: " + idx);

str2.indexOf("One");
str2.lastIndexOf("One");
这二句是什么意思,为什么输出结果是0和14,请帮我每 行解释一下