亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

代碼
提交代碼
public class StringMethod2 { public static void main(String[] args) { String str = "I love Java, I love imooc!"; int i = str.lastIndexOf('e'); System.out.println("字符e在字符串str最后一次出現的位置為:" + i); } }
運行結果