Skip to content

Commit ce93489

Browse files
committed
简单的修改一些小问题
1 parent 6254014 commit ce93489

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@ Markdown 格式参考:[Github Markdown格式](https://guides.github.com/featur
312312
<a href="https://github.com/fanchenggang">
313313
<img src="https://avatars2.githubusercontent.com/u/8225921?s=460&v=4" width="45px">
314314
</a>
315+
<a href="https://github.com/Rustin-Liu">
316+
<img src="https://avatars2.githubusercontent.com/u/29879298?s=400&v=4" width="45px">
317+
</a>
318+
315319
<a href="https://github.com/ipofss">
316320
<img src="https://avatars1.githubusercontent.com/u/5917359?s=460&v=4" width="45px"></a>
317321
<a href="https://github.com/Gene1994">

docs/essential-content-for-interview/MostCommonJavaInterviewQuestions/第一周(2018-8-7).md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ num2 = 20
7878

7979
![example 2](http://my-blog-to-use.oss-cn-beijing.aliyuncs.com/18-9-27/3825204.jpg)
8080

81-
array 被初始化 arr 的拷贝也就是一个对象的引用,也就是说 array 和 arr 指向的时同一个数组对象。 因此,外部对引用对象的改变会反映到所对应的对象上。
81+
array 被初始化 arr 的拷贝也就是一个对象的引用,也就是说 array 和 arr 指向的是同一个数组对象。 因此,外部对引用对象的改变会反映到所对应的对象上。
8282

8383

8484
**通过 example2 我们已经看到,实现一个改变对象参数状态的方法并不是一件难事。理由很简单,方法得到的是对象引用的拷贝,对象引用及其他的拷贝同时引用同一个对象。**

docs/java/Java基础知识.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,8 @@ final关键字主要用在三个地方:变量、方法、类。
417417

418418
### Throwable类常用方法
419419

420-
- **public string getMessage()**:返回异常发生时的详细信息
421-
- **public string toString()**:返回异常发生时的简要描述
420+
- **public string getMessage()**:返回异常发生时的简要描述
421+
- **public string toString()**:返回异常发生时的详细信息
422422
- **public string getLocalizedMessage()**:返回异常对象的本地化信息。使用Throwable的子类覆盖这个方法,可以声称本地化信息。如果子类没有覆盖该方法,则该方法返回的信息与getMessage()返回的结果相同
423423
- **public void printStackTrace()**:在控制台上打印Throwable对象封装的异常信息
424424

0 commit comments

Comments
 (0)