摘要: 1 public class Market { 2 // 1. 定义超市名称的字符串变量 3 // 因为String是大写了 首字母 所以它是类 又因为类的默认值是null 所以String的默认值就是null 4 private String marketName; 5 // 2. 定义的是仓库 阅读全文
posted @ 2019-09-29 15:56 王纪雪 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 单表查询 1. 指定查询 -- 查询1001信息? select * from user where 1001 2. 带in关键字查询 -- 查询1001、1004、1009 三个人信息? select * from user where id = 1001 or id = 1004 or id = 阅读全文
posted @ 2019-09-26 16:30 王纪雪 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 面向对象 三大特性: 封装、继承、多态 【抽象】 抽象类 和 接口 关键字: static 静态方法 final this super 方法 构造方法 集合 单列集合 Collection<E> /<E>表示为 泛型 Element | Vector Jdk1.0 有了它 线程安全性 | List 阅读全文
posted @ 2019-09-25 14:41 王纪雪 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-09-18 15:48 王纪雪 阅读(130) 评论(0) 推荐(0) 编辑
摘要: import java.util.Random;import java.util.Scanner;public class GuessNumber { public static void main(String[] args) { Random a = new Random(); System.o 阅读全文
posted @ 2019-09-18 15:43 王纪雪 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 数据库分类: 大型数据库 Oracle Orcale 甲骨文 DB2 IBM 中型数据库 Mysql Orcale 甲骨文 sqlserver 微软 小型数据库 access 微软 大型数据库 Oracle Orcale 甲骨文 DB2 IBM 中型数据库 Mysql Orcale 甲骨文 sqls 阅读全文
posted @ 2019-09-17 10:27 王纪雪 阅读(142) 评论(0) 推荐(0) 编辑