摘要: 为什么要使用Lambda表达式 Functional Interface(函数式接口) 推导Lambda表达式 Lambda表达式简化过程 阅读全文
posted @ 2021-09-22 19:35 clap-of-thunder 阅读(61) 评论(0) 推荐(0)
摘要: 线程创建 文章目录 线程创建 线程的三种创建方式 创建方式1:继承Thread类 Thread类测试实例:多线程同时下载三个网络图片 创建方式2: 实现runnable接口 Runnable接口测试实例:多线程同时下载三个网络图片 继承Thread类和实现Runnable接口创建多线程的对比 案例: 阅读全文
posted @ 2021-09-22 15:35 clap-of-thunder 阅读(15) 评论(0) 推荐(0)
摘要: 多线程详解01 线程、进程、多线程 文章目录 多线程详解01 线程、进程、多线程普通方法调用和多线程的区别程序.进程(Proces... 阅读全文
posted @ 2021-09-22 15:27 clap-of-thunder 阅读(30) 评论(0) 推荐(0)
摘要: Relational Algebra 关系代数 Relational Algebra is the language to describe operations in relational DBMS helps understanding of Query execution,and partic 阅读全文
posted @ 2021-06-28 16:55 clap-of-thunder 阅读(221) 评论(0) 推荐(0)
摘要: 数据库复习1. 关系模型 文章目录 数据库复习1. 关系模型The Relational Model(关系模型)Relations 关系Domain(定义域)Relations and AttributesDegree 度Tuples(元组)(即Table中的行)Superkey 超键Key 键(最 阅读全文
posted @ 2021-06-27 23:19 clap-of-thunder 阅读(48) 评论(0) 推荐(0)
摘要: # 第一节 介绍 Lecture 1 Introduction 文章目录 # 第一节 介绍Lecture 1 Introducti... 阅读全文
posted @ 2021-06-16 23:28 clap-of-thunder 阅读(29) 评论(0) 推荐(0)
摘要: 内部类 内部类就是在一个类的内部再定义一个类,比如A类中定义一个B类,那么B类成为内部类,而A类相对B类来说就是外部类。 成员内部类 public class Application2 { public static void main(String[] args) { //实例化成员内部类需要先实 阅读全文
posted @ 2021-06-15 21:06 clap-of-thunder 阅读(8) 评论(0) 推荐(0)
摘要: 抽象类和接口 文章目录 抽象类和接口 抽象类 接口 接口小结 抽象类 abstract修饰符可以用过来修饰方法也可以修饰类,如果修饰方法则该方法为抽象方法;如果修饰类则该类为抽象类。 抽象类中可以有普通方法,但是有抽象方法的类一定要声明为抽象类。 抽象类不能用new关键字创建对象,它是用来让子类继承 阅读全文
posted @ 2021-06-15 16:01 clap-of-thunder 阅读(24) 评论(0) 推荐(0)
摘要: 面向对象编程03:封装、继承、多态 文章目录 面向对象编程03:封装、继承、多态 封装 继承 object类 super super注意点: `super` VS `this`: 方法重写 多态 多态的注意事项: instanceof关键字 父类与子类之间的类型转换 封装 该露的露、该藏的藏 设计程 阅读全文
posted @ 2021-06-15 14:46 clap-of-thunder 阅读(13) 评论(0) 推荐(0)
摘要: 文章目录 对象的创建与初始化 构造器(构造方法/构造函数) 创建对象内存分析 类与对象复习提纲 对象的创建与初始化 使用new关键字创建对象 下面看一个使用new关键字创建对象的实例: this指向本类 //学生类 public class Student { //属性:字段 String name 阅读全文
posted @ 2021-06-15 14:41 clap-of-thunder 阅读(18) 评论(0) 推荐(0)