求救!!!!
运行失败
Monkey.java:25: error: ')' expected
public Monkey(String magicalName,String magicalFeature;){
^
Monkey.java:25: error: illegal start of type
public Monkey(String magicalName,String magicalFeature;){
^
Monkey.java:25: error: ';' expected
public Monkey(String magicalName,String magicalFeature;){
^
Monkey.java:26: error: illegal start of type
this.name=name;
^
Monkey.java:26: error: expected
this.name=name;
^
Monkey.java:26: error: ';' expected
this.name=name;
^
Monkey.java:26: error: illegal start of type
this.name=name;
^
Monkey.java:27: error: illegal start of type
this.feature=feature;
^
Monkey.java:27: error: ';' expected
this.feature=feature;
^
Monkey.java:27: error: expected
this.feature=feature;
^
Monkey.java:28: error: expected
System.out.println("俺是一资用神奇带参构造生成滴打猴几~");
^
Monkey.java:28: error: illegal start of type
System.out.println("俺是一资用神奇带参构造生成滴打猴几~");
^
Monkey.java:29: error: expected
chiStr = URLDecoder.decode(magicalName, "utf-8");
^
Monkey.java:30: error: expected
chistr = URLDecoder.decode(magicalFeature, "utf-8");
^
Monkey.java:33: error: class, interface, or enum expected
}
^
15 errors
正在回答 回答被采纳积分+1
- 参与学习 人
- 提交作业 3802 份
- 解答问题 11489 个
本阶段带你迈入Java世界,学习Java必备基础知识,基础语法、面向对象思想以及常用工具类的使用。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星