Java
2018-10-15
| 2025-3-22
字数 267阅读时长 1 分钟
type
status
date
slug
summary
tags
category
icon
password

帮助文档制作

notion image

各种运算

notion image

选择结构和循环结构

notion image

数组

notion image
notion image

方法、构造函数、重载

notion image

static、设计模式

notion image

继承、final、抽象类、接口、多态

notion image

内部类

notion image

异常

notion image

多线程

notion image

String

notion image

StringBuffered和StringBuilder

notion image

8种基本数据类型包裹类型和Scanner

notion image

Collection< E >集合框架

notion image

接口List< E >

notion image

接口Set< E >

notion image

泛型

notion image

Map< K,V >集合框架

notion image

集合工具

notion image

System、Runtime、Date、Math

notion image
notion image

I/O

notion image

网络编程

notion image

Java8新特性

接口定义增强

接口中使用defaultstatic定义方法的意思是避免重复实现相同的代码;接口的使用还应该以抽象方法为主。

Lamda表达式

三种形式
  • (参数)->单行语句;
  • (参数)->{};
  • (参数)->表达式;

方法引用

  • 引用静态方法:类名称::static方法名称;
  • 引用某个对象的方法:实例化对象::普通方法;
  • 引用特定类型的方法:特定类::普通方法;
  • 引用构造方法:类名称::new;
Python英语语法
Loading...