2018年7月18日

摘要: 容器和数组只要带NEW的,就是需要进入堆中的,会附上初始值:int就是0,double就是0.0,String就是null! 程序结束之后弹栈,执行的程序就被销毁了(先进入的后出,后进入的先出)! //求数组中的最大值: int[] arr={1,2,3,4,5,6,7,8,9,0}; //默认最大 阅读全文
posted @ 2018-07-18 10:30 Postgre叮当牛i 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Scanner scan1=new Scanner(System.in); while (true) { System.out.println("1.新增"); System.out.println("2.修改"); System.out.println("0.退出"); int scan1int= 阅读全文
posted @ 2018-07-18 10:28 Postgre叮当牛i 阅读(130) 评论(0) 推荐(0) 编辑

导航