Skip to content

Commit 3c08903

Browse files
authored
优化了一下翻译 (#399)
* 忽路->忽略 * 修复跳转链接错误 * fix Class.getInterface() -> Class.getInterfaces() * 否者 -> 否则 * 编译期 -> 编译器 ,原文"the compiler will only allow you to say that the superclass reference is “some class that is a superclass of FancyToy” a" * ierator -> iterator * nextint -> nextInt * fix 这句翻译第一反应没太看懂,结合原文和下面的例子优化了一下翻译
1 parent 75b665e commit 3c08903

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/book/21-Arrays.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2045,7 +2045,7 @@ public class ParallelSetAll {
20452045

20462046
与使用for循环手工执行复制相比,**copyOf()** 和 **copyOfRange()** 复制数组要快得多。这些方法被重载以处理所有类型。
20472047

2048-
我们开始复制数组的整数和整数:
2048+
我们从复制 **int** 和 **Integer** 数组开始:
20492049
```JAVA
20502050
// arrays/ArrayCopying.java
20512051
// Demonstrate Arrays.copy() and Arrays.copyOf()

0 commit comments

Comments
 (0)