summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Schumacher <maximilianbschumacher@gmail.com>2021-03-21 15:27:02 +0100
committerGitHub <noreply@github.com>2021-03-21 15:27:02 +0100
commit0b1ddaad046f9b4001f62545b57c67fc10e9c059 (patch)
tree965dc5eac7e650e3cafdc828cec1e88fc16972a5
parentd70644b2c362b6dd59647644ece4aa8806553e01 (diff)
parent1648ae96ca10a4a5ef861f0d5abb29f7ba59a977 (diff)
Merge pull request #4132 from Vikiboss/master
[java/cn] Update java-cn.html.markdown
-rw-r--r--zh-cn/java-cn.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/zh-cn/java-cn.html.markdown b/zh-cn/java-cn.html.markdown
index 27003f3e..1de7f3e6 100644
--- a/zh-cn/java-cn.html.markdown
+++ b/zh-cn/java-cn.html.markdown
@@ -297,8 +297,8 @@ class Bicycle {
// Bicycle 类的成员变量和方法
public int cadence; // Public: 任意位置均可访问
private int speed; // Private: 只在同类中可以访问
- protected int gear; // Protected: 可以在同类与子类中可以访问
- String name; // default: 可以在包内中可以访问
+ protected int gear; // Protected: 可以在同类与子类中访问
+ String name; // default: 可以在包内访问
// 构造函数是初始化一个对象的方式
// 以下是一个默认构造函数