慕圣6549494
2020-10-03 21:21
想知道哪儿错了
public class HelloWorld {
public static void main(String[] args) {
int[] nums =new int[]{61,23,4,74,13,148,20};
int max = nums[0];
int min = nums[0];
}
}
没错啊 除了少了两个大括号
同时定义同一个元素应该不行的
Java入门第一季(IDEA工具)
1168098 学习 · 18754 问题
相似问题