摘要: 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; 阅读全文
posted @ 2017-09-25 10:46 Archon 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-09-17 11:16 Archon 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-09-17 11:15 Archon 阅读(117) 评论(0) 推荐(0) 编辑
摘要: public class AverageSpeed{ public static void main(String[]args){ double speedkm =60/(45.5/14); double speedm = speedkm /1.6; system.out.println(“aver 阅读全文
posted @ 2017-09-09 12:06 Archon 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 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;}} 阅读全文
posted @ 2017-09-09 11:54 Archon 阅读(376) 评论(0) 推荐(0) 编辑
摘要: public class Test{public static void main(String[] args){int i;for(i=1;i<=5;i++){System.out.println("Welcome to java"); }} 阅读全文
posted @ 2017-09-09 11:48 Archon 阅读(241) 评论(0) 推荐(0) 编辑