Skip to content

Commit 08bea4f

Browse files
committed
Updated src/ALL.md.
1 parent c44a9e0 commit 08bea4f

24 files changed

+121
-0
lines changed

append_end.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
PWD="$(pwd)"
3+
for f in $(find "src/" -type f -name "*.md" ); do
4+
if [[ "${f}" == *"SUMMARY"* ]] || [[ "${f}" == *"README"* ]]; then continue; fi
5+
echo -e "\n\n(End)\n\n" >> "$PWD/$f"
6+
done

src/404.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@
77

88

99
This URL is invalid, sorry. Please use the navigation bar or search to continue. It will be redirected to home in <span class="sec-count" style="font-style: italic;font-weight:bold;font-size:large;">n</span> seconds...
10+
11+
12+
(End)
13+
14+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
Ch01_Dive_in_A_Quick_Dip_Breaking_the_Surface.md
2+
3+
4+
(End)
5+
6+

src/Ch02_Class_and_Objects_A_Trip_to_Objectville.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@
1010

1111
* 用来对类进行 **测试**(用在 `TestDrive` 中, to **test** your real class)
1212
* 用来 **启动** Java **应用** (to **launch/start** your Java **application**
13+
14+
15+
(End)
16+
17+

src/Ch03_Primitives_and_References_Know_Your_Variables.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,8 @@ __对象引用__ 只是另一个变量值(An object reference is just another
148148
* `null` 是一个值,表示空指针,在某个对象被赋值了空指针后,就失去了对原来对象的引用,原来那个对象,就再也访问不到了,将被垃圾回收
149149
* 两个对象引用变量,可以指向同一个对象
150150
* 失去了对象引用变量的对象,将被垃圾回收
151+
152+
153+
(End)
154+
155+

src/Ch04_Methods_Use_Instance_Variables_How_Objects_Behave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,8 @@ if (b == c) { // false }
9898
| 可以有多个参数 | 方法 |
9999
| 有助于建立良好封装的。 | 访问器,修改器,`public`, `private` |
100100
| 总是独行的(I always fly solo)。 | `return` |
101+
102+
103+
End
104+
105+

src/Ch05_Writing_a_Program_Extra-Strength_Methods.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,3 +253,8 @@ public class Output {
253253
>
254254
> - [在类中创建自己的对象](https://blog.csdn.net/qq_38374633/article/details/103977097)
255255
> - [Can a Class instantiate itself?](https://stackoverflow.com/questions/18241281/can-a-class-instantiate-itself)
256+
257+
258+
(End)
259+
260+

src/Ch06_Get_to_Know_The_Java_API_Using_the_Java_Library.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,3 +311,8 @@ you'll just have to type
311311
Java 本身就有着一套良好的线上文档,名字就叫 Java API。这套文档又是另外一套更大的名为 Java 5 标准版文档的一部分,这些线上文档还必须得去单独下载;这些文档不是和 Java 程序一起提供的。
312312

313313
这些API文档,在要进一步了解某个类及其方法时,最好的参考资料。比如在查阅参考书时,在 `java.util`包中发现一个名为 `Calendar` 的类时,参考书只能告诉你这个类的有限的、仅能让你明白这个类正是你要用到的一点点内容,在你需要了解更多的有关这个类的信息时,就可以在线上文档里找到。
314+
315+
316+
(End)
317+
318+

src/Ch07_Inheritance_and_Polymorphism_Better_Living_in_Objectville.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,3 +503,8 @@ public class Overloads {
503503
}
504504
}
505505
```
506+
507+
508+
(End)
509+
510+

src/Ch08_Interfaces_and_Abstract_Classes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,3 +707,8 @@ public class Dog extends Canine implements Pet
707707
* 类可以实现多个 `interface`s;
708708
* 因为 *`interface`的全部方法,隐式的都是 `public` 与 `abstract` 的*,所以实现某个 `interface` 的类,就必须实现该 `interface` 的全部方法;
709709
* 使用关键字 `super` 来从子类中调用所重写方法的超类版本。比如 `super.runReport();`
710+
711+
712+
End
713+
714+

0 commit comments

Comments
 (0)