1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-18 20:41:29 +02:00

Update java-cn.html.markdown

Simplify the description in Chinese to prevent verbosity
This commit is contained in:
Viki
2021-03-03 18:36:43 +08:00
committed by GitHub
parent 512b288d1a
commit 735044b088

View File

@@ -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: 可以在包内访问
// 构造函数是初始化一个对象的方式
// 以下是一个默认构造函数