第01套试题
基本操作题
import java.io.*;
public class Java_1
{
public static void main(String args[])
{
char a='r';
byte b=8;
int i=55;
//*********Found********
______ n=1024L;
float f=103.7f;
//*********Found********
______ d=954.2431;
int a1=a+i;
long n1=n-a1;
float f1=b*f;
double d1=f1/a1+d;
System.out.println("a1="+a1);
System.out.println("n1="+n1);
System.out.println("f1="+f1);
System.out.println("d1="+d1);
}
}
简单应用题
import java.util.Random;
public class Java_2
{
public static void main(String args[]
2022-05-12 18:04:58
3.11MB
文档资料