实验一:Java 基本语法实验目的:了解 Java 的数据类型,掌握各种变量的声明方式,理解运算符的优先级,掌握 Java 基本数据类型、运算符与表达式,掌握顺序结构、选择结构和循环结构语法的程序设计方法。实验规定: 1、编写一个声明 Java 不同数据类型变量的程序。2、编写使用不同选择结构的程序。3、编写使用不同循环结构结构的程序。实验内容: 1、声明不同数据类型变量1)编写声明不同数据类型变量的程序,代码见实验指导书。运营结果:2)Integer 类在某对象中打包了原始类型为 int 的值。Integer 类型对象包含 int 型的单个域。此外,此类提供了许多方法,可以将 int 型转换为 string 型,也可以将 Sring 型转换为int 型,还包含解决 int 类型时的其他有用常量和方法。代码见实验指导书。运营结果:2、使用选择结构使用 if...else 语句,编写源程序文献,代码见实验指导书。 运营结果:使用 switch 语句1)编写程序用 swith 语句实现从键盘读如 1,2,3 时,屏幕提醒不同信息。代码见实验指导书。运营结果: 3、使用循环结构使用 for 语句1)程序源代码见实验指导书。 2)改正源程序中错误:public static void main (String args[]) throws java.io.IOException 运营结果: 使用 while 语句1)程序源代码实验指导书: 运营结果:多重循环,输出九九乘法表的程序。 运营结果:4、编程题,编写程序并写出运营结果1)用分支语句编程,输入一个学生成绩,给出相应等级: 90~100 优 80~89 良 70~79 中 69~60 及格 0~59 不及格代码:import java.io.*;class aaa {public static void main(String args[]) throws IOException{ BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Please press the score in:"); int num=Integer.parseInt(stdin.readLine()); num=(int)(num/10); switch(num){ case 10: case 9: System.out.println("The student's level is 'A'!"); break; case 8: System.out.println("The student's level is 'B'!"); break; case 7: System.out.println("The student's level is 'C'!"); break; case 6: System.out.println("The student's level is 'D'!"); break; case 5: case 4: case 3: case 2: case 1: case 0: System.out.print...