2017年10月9日
摘要: 6、变量的溢出效果 public class Overflow{ public static void main(String[] args) { int big=0x7fffffff; System.out.println(big); } 阅读全文
posted @ 2017-10-09 13:50 大鸟3 阅读(74) 评论(0) 推荐(0) 编辑
摘要: public class Long{ public static void main(String[] args) { long l=123456789012345l;//java中默认类型为Int型,电脑想要识别长整型需加l(或L) System.out.println(l); } 2、输出一个单 阅读全文
posted @ 2017-10-09 13:48 大鸟3 阅读(85) 评论(0) 推荐(0) 编辑
2017年9月25日
摘要: 程序员// import java.util.Scanner; //输入 public class Operation { public static void main(String[] args) //有的直接在打印处提示的 就不做注释了 { long l=123456789012345l; S 阅读全文
posted @ 2017-09-25 11:45 大鸟3 阅读(83) 评论(0) 推荐(0) 编辑
2017年9月18日
摘要: import java.util.Scanner; public class Jisuanjl{ public static void main(String[] args){ Scanner input=new Scanner(System.in); System.out.print("Enter 阅读全文
posted @ 2017-09-18 10:55 大鸟3 阅读(74) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class test { public static void main(String[] args) { Scanner Hy=new Scanner(System.in); String Hyper; System.out.prin 阅读全文
posted @ 2017-09-18 10:53 大鸟3 阅读(97) 评论(0) 推荐(0) 编辑
摘要: public class Test{public static viod main(String[ ] args){System out println(" A");System out println(" AA");System out println("AAAAA");System out pr 阅读全文
posted @ 2017-09-18 10:52 大鸟3 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 1.2 public class Test{public static void main(String[] args){int i;for(i=1;i<=5;i++){System.out.println("Welcome to java"); }} 1.8 public class Test{ 阅读全文
posted @ 2017-09-18 10:50 大鸟3 阅读(73) 评论(0) 推荐(0) 编辑