目录
1 人机交互..................................................................................................................................... 2
2 下载和安装 JDK........................................................................................................................... 3
3 Notepad 下载和安装................................................................................................................... 5
4 Java 三大平台.............................................................................................................................. 5
5 Java 基础语法.............................................................................................................................. 9
5.1 注释.................................................................................................................................. 9
5.2 关键字............................................................................................................................ 10
5.3 字面量............................................................................................................................ 10
5.4 变量................................................................................................................................ 12
5.5 计算机存储规则............................................................................................................. 13
5.6 数据类型........................................................................................................................ 15
5.7 标识符............................................................................................................................ 16
5.8 键盘录入........................................................................................................................ 17
5.9 IDEA 的下载安装............................................................................................................ 17
5.10 运算符.......................................................................................................................... 19
5.11 流程控制语句.............................................................................................................. 23
5.12 数组.............................................................................................................................. 27
5.13 方法、方法重载、方法内存.......................................................................................31
6 面向对象................................................................................................................................... 34
6.1 类和对象........................................................................................................................ 34
6.2 封装................................................................................................................................ 35
6.3 标准的 JavaBean 类........................................................................................................ 38
6.4 API 和字符串(String、StringBuilder、Stringjoiner)...................................................40
6.5 集合................................................................................................................................ 46
7 面向对象进阶........................................................................................................................... 48
7.1 sta&c 静态变量............................................................................................................... 48
7.2 继承................................................................................................................................ 49
7.3 多态................................................................................................................................ 54
7.4 包和 (nal........................................................................................................................ 56
7.5 权限修饰符.................................................................................................................... 58
7.6 抽象类和抽象方法......................................................................................................... 59
7.7 接口................................................................................................................................ 60
7.8 内部类............................................................................................................................ 64
1
评论0