Merge pull request #331 from qbosen/master

update Java 基础.md
This commit is contained in:
郑永川 2018-07-19 11:03:24 +08:00 committed by GitHub
commit 41e546428e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -763,10 +763,10 @@ try {
``` ```
```html ```html
java.lang.CloneNotSupportedException: CloneTest java.lang.CloneNotSupportedException: CloneExample
``` ```
以上抛出了 CloneNotSupportedException这是因为 CloneTest 没有实现 Cloneable 接口。 以上抛出了 CloneNotSupportedException这是因为 CloneExample 没有实现 Cloneable 接口。
```java ```java
public class CloneExample implements Cloneable { public class CloneExample implements Cloneable {