- 博客(2)
- 收藏
- 关注
原创 2021-06-21
String中的lastIndexOf()方法 源码: public int lastIndexOf(String str) { return lastIndexOf(str, value.length); } 源码解释: Returns the index within this string of the last occurrence of the specified substring. The last occurrence of the empty string “” i
2021-06-21 10:32:27
59
原创 2021-04-05
编写一个Java应用程序,在键盘上输入数n,计算并输出1!+2!+…+n!的结果。 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; //阶乘和 public class Test { public static void main(String[] args) throws Exception { int sum = 0; int t=1; Buf
2021-04-05 16:04:45
62
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人