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