2017年9月25日

摘要: import java.util.Scanner; public class test{ public static void main(String[] args) { int a; Scanner input=new Scanner(System.in); System.out.print("E 阅读全文

posted @ 2017-09-25 13:13 打得不错 阅读(68) 评论(0) 推荐(0) 编辑

摘要: //程序员 姚毓森//1.输出一个长整型的变量 123456789012345public class Long{ public static void main(String[] args) { long l=123456789012345l; System.out.println(l); }} 阅读全文

posted @ 2017-09-25 13:09 打得不错 阅读(83) 评论(0) 推荐(0) 编辑

摘要: public class PJSD{ public static void main(String[] args) { System.out.println("平均速度为:"+24*1.6/(1+40.0/60+35.0/3600)); }} 阅读全文

posted @ 2017-09-25 12:27 打得不错 阅读(281) 评论(0) 推荐(0) 编辑

2017年9月11日

摘要: import java.lang.Math; public class C{ private double radius; C(double r){ this.radius = r; } public double areaCal(){ return Math.PI*this.radius*this 阅读全文

posted @ 2017-09-11 12:29 打得不错 阅读(176) 评论(1) 推荐(0) 编辑

摘要: public class JAVA{ public static void main(String[] args){ System.out.println(" J A V V A"); System.out.println(" J A A V V A A"); System.out.println( 阅读全文

posted @ 2017-09-11 12:09 打得不错 阅读(151) 评论(1) 推荐(0) 编辑