摘要: 1 package com.qingdaoligong.jierui; 2 public class CustomerBiz { 3 String[] shuzu = new String[5]; 4 int j; 5 boolean qw = false;//定义一个布尔变量 6 boolean qw1 = false;//定义一个布尔变量 7 ... 阅读全文
posted @ 2016-08-04 09:23 早上~得~喝粥 阅读(111) 评论(0) 推荐(0) 编辑
摘要: package com.qingdaoligong.jierui; public class Start { //购物类 boolean result; public void window(){ System.out.println("欢迎使用我心我塑购物管理系统"); System.out.println("1.登录系统"); ... 阅读全文
posted @ 2016-08-03 15:39 早上~得~喝粥 阅读(88) 评论(0) 推荐(0) 编辑
摘要: package zhuoxiang; import java.util.Scanner; public class GongYueshuo { public static void main(String[] args) { Scanner input=new Scanner(System.in); System.out.println("输入第一个数"); in... 阅读全文
posted @ 2016-08-03 10:26 早上~得~喝粥 阅读(94) 评论(0) 推荐(0) 编辑
摘要: package com.qingdaoligong.jierui; public class MiaoShu { // 定义类 String name; int age; double height; double weight; String sex; String ideas; public void zhaohu(... 阅读全文
posted @ 2016-08-03 10:19 早上~得~喝粥 阅读(292) 评论(0) 推荐(0) 编辑
摘要: String str="qwerwer"; int index=str.indexOf('w'); System.out.println(index);// 结果是1 String str1="we"; int index1=str1.indexOf('w'); System.out.println(index1... 阅读全文
posted @ 2016-08-01 18:00 早上~得~喝粥 阅读(138) 评论(0) 推荐(0) 编辑
摘要: package zhuoxiang; import java.util.Scanner; public class ATMqukuan { public static void main(String[] args) { Scanner input=new Scanner(System.in); for(int i=1;;i++){ ... 阅读全文
posted @ 2016-07-28 18:10 早上~得~喝粥 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Ctrl+X 剪贴 Ctrl+C 复制 Ctrl+V 粘贴 Ctrl+D 删除对应行 Ctrl+A 全选 Ctrl+Z 撤销 Alt+↑ 两行代码互换 Ctrl+Alt+X J 运行代码 Ctrl+shift+O 添加缺少的包, Ctrl+shift+↓ 向下复制本行代码 阅读全文
posted @ 2016-07-28 10:46 早上~得~喝粥 阅读(113) 评论(0) 推荐(0) 编辑
摘要: package helloworld; import java.util.Scanner; public class GouWu { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("依次输入三个商品名称\t单价\t数量\n"); ... 阅读全文
posted @ 2016-07-27 15:13 早上~得~喝粥 阅读(131) 评论(0) 推荐(0) 编辑