评论 (18)
- 受欢迎
- 新
- 旧
你必须先登录才能发表评论
Anonymous #10930302
20 九月 2022, 10:16
"我每个月下 "+getMonthlyEggCount()+" 个鸡蛋。"
字符串和数字拼接的位置有两个空格,在题目要求中没有体现出来
0
John Squirrels Website Admin 位于 CodeGym
26 九月 2022, 11:41
麻烦你把自己的代码发给我们看。
0
冲击
14 十二月 2023, 06:50
Why can't idea and codegym display tasks after I reach level 11
0
。。。
14 十一月 2021, 12:18
为什么Solution类 getHen方法内 需要初始化Hen hen = null; 但是在前面的lesson4 第二题可以Cat cat ;而不用Cat cat = null;
+1
。。。
14 十一月 2021, 12:22
我自己看懂解决了哈哈
0
Luciano
5 十月 2021, 07:47
Continent接口中的数据为什么可以不继承,直接使用
0
hello world Java Developer
1 十一月 2021, 06:55
因为interface中的变量的修饰符是:public static final
+3
zhs
22 十月 2020, 09:54
我这样写过了:
return super.getDescription() + "我来自"+Continent.AFRICA+"。我每个月下 "+getMonthlyEggCount()+" 个蛋。";
0
梦尽m
28 九月 2020, 03:10
受不了,醉了
0
楊宗翰
17 七月 2020, 09:11
怎麼樣打印都不對 到底是怎樣 ...
0
曌
2 六月 2020, 11:45
正确的格式如下
return super.getDescription() + "我来自"+AFRICA+"。我每个月下 "+getMonthlyEggCount()+" 个蛋。";
+4
Khalil Chen
10 六月 2020, 08:19
thx a lot!
0
楊宗翰
17 七月 2020, 09:27
還是過不了 QAQ
0
楊宗翰
17 七月 2020, 09:28
...原來下後面還有一個空白
0
Tim Dai
12 八月 2020, 01:38
Saved me a hell outta time.
+1
Sherry Li
7 五月 2020, 02:10
Something is wrong with the output:
super.getDescription()+"我来自"+Continent.ASIA+"。我一个月下"+getMonthlyEggCount()+"个鸡蛋。";
but the instruction keeps saying:
我是一只鸡。我来自亚洲。我一个月下 5 个鸡蛋。
0
楊宗翰
17 七月 2020, 09:27
me too
0
sky
19 八月 2022, 05:05
我也问题出在这边
0