使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
public class Test {
public static void main(String[] args) {
int sum = 0;
for (int i = 1; _______; i++) {
sum += i;
}
System.out.println("Sum = " + sum);
int i = 2;
while (_______) {
System.out.print(i + " ");
i += 2;
public class Test3 {
int i = 10;
do {
System.out.println(i);
i++;
} while (_______);
public class Test4 {
for (int i = 0, j = 5; _______; i++, j--) {
System.out.println(i + " " + j);
int[] arr = {3, 7, 9, 12, 14, 18};
for (int i = 0; _______; i++) {
if (arr[i] % 3 == 0) {
sum += arr[i];
int num = 8;
if (__________) {
System.out.println("是偶数");
int n = -5;
if (n >= 0) {
System.out.println("是正数");
} else {
_____________;
int score = 92;
if (score >= 0 && score <= 100) {
if (___________) {
System.out.println("优秀");
System.out.println("不是优秀");
int day = 3;
switch (day) {
case 1:
System.out.println("星期一");
break;
case 2:
System.out.println("星期二");
case 3:
___________________________;
default:
System.out.println("非法输入");
public class Test5 {
int score = 75;
if (score >= 90) {
} else if (score >= 80) {
System.out.println("良好");
} else if (__________) {
System.out.println("及格");
System.out.println("不及格");