逻辑控制
使用Scanner循环读取N个数字
JAVA逻辑控制刷题:
https://blog.csdn.net/qq_52988578/article/details/119479664
数组
for-each遍历数组
public class Test {
public static void main(String[] args) {
int[] arr = {1,2,3};
for (int x: arr) {
System.out.println(x);
}
}
}
JAVA方法
Java方法:
https://blog.csdn.net/qq_52988578/article/details/119812422
易错题:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16: