摘要:
java.util包提供了Date类来封装当前的⽇期和时间 构造函数 //当前时间 Date() //从1970年1⽉1⽇起的毫秒数作为参数 Date(long millisec) 常见方法 //返回⾃ 1970 年 1 ⽉ 1 ⽇ 00:00:00 GMT 以来此 Date 对象表示的毫秒数。 l 阅读全文
posted @ 2020-07-31 23:22
陈彦斌
阅读(291)
评论(0)
推荐(0)
摘要:
VideoOrder.java 重写里面的equals和hashCode方法 class VideoOrder { private int price; private String title; public VideoOrder(String title, int price) { this.t 阅读全文
posted @ 2020-07-31 22:45
陈彦斌
阅读(337)
评论(0)
推荐(0)
摘要:
public static void main(String[] args) { // 1、字符串 String str = "*Constructs a new <tt>HashMap</tt> with the same mappings as the * specified <tt>Map</ 阅读全文
posted @ 2020-07-31 22:33
陈彦斌
阅读(466)
评论(0)
推荐(0)
摘要:
导读 Mysql数据类型,点我直达 创建表 语法: create table 表名( 字段名1 字段类型2 约束条件1 说明1, 字段名2 字段类型2 约束条件2 说明2 ) 约束条件: comment 说明解释 not null 不为空 default 默认值 unsigned 无符号(即正数) 阅读全文
posted @ 2020-07-31 12:03
陈彦斌
阅读(575)
评论(0)
推荐(0)

浙公网安备 33010602011771号