摘要:
import java.util.Scanner; public class L { public static void main(String[] args) { long A ; a=123456789012345l; System.out.println(A); float B=2.4F; 阅读全文
摘要:
2.6 import java.util.Scanner; public class test { public static void main(String[] args) { Scanner Hy=new Scanner(System.in); String Hyper; System.out 阅读全文
摘要:
2.15 import java.util.Scanner; public class test { public static void main(String[] args) { Scanner Hy=new Scanner(System.in); double x1,x2,y1,y2; Sys 阅读全文
摘要:
public class AverageSpeed{ public static void main(String[]args){ double speedkm =60/(45.5/14); double speedm = speedkm /1.6; system.out.println(“aver 阅读全文
摘要:
public class Circle{private double r;public Circle(double r){this.r =r;}public double getLength(){return 2*Math.PI*r;}public double getArea(){return Math.PI*r*r;}} 阅读全文
摘要:
public class Test{public static void main(String[] args){int i;for(i=1;i<=5;i++){System.out.println("Welcome to java"); }} 阅读全文