summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/java-cn.html.markdown
diff options
context:
space:
mode:
authorLidenburg <richard.lindberg1997@gmail.com>2016-03-15 18:56:44 +0100
committerLidenburg <richard.lindberg1997@gmail.com>2016-03-15 18:56:44 +0100
commitce5183bd3d38094401ec37b691fb11c08ec3a07f (patch)
tree6227674189be0b6ae719f956c800de98daa4b283 /zh-cn/java-cn.html.markdown
parentc38933a4d187bb2f7a13b1716e9c6d884b390e89 (diff)
parent2095ad9cf5f3243296be5a7232dc52ae03603f49 (diff)
Merge remote-tracking branch 'refs/remotes/adambard/master'
Diffstat (limited to 'zh-cn/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 a8fd2a4c..1e9c38f6 100644
--- a/zh-cn/java-cn.html.markdown
+++ b/zh-cn/java-cn.html.markdown
@@ -302,7 +302,7 @@ class Bicycle {
// 构造函数是初始化一个对象的方式
// 以下是一个默认构造函数
- public Bi450635425cycle() {
+ public Bicycle() {
gear = 1;
cadence = 50;
speed = 5;
@@ -328,7 +328,7 @@ class Bicycle {
return cadence;
}
- // void返450635425回值函数没有返回值
+ // void返回值函数没有返回值
public void setCadence(int newValue) {
cadence = newValue;
}