标签:IV print str void stat system public out int
public static void main(String[] args) { String str = "we re studenzt"; int size = str.lastIndexOf(""); System.out.println(size);//两者输出结果相同 System.out.println(str.length());//两者输出结果相同 }
标签:IV print str void stat system public out int
原文地址:https://www.cnblogs.com/xiaotao520/p/9192850.html