题目内容
现有:
1.classPropeller2{
2.pulolicstaticvoidmain(String[]args)//addcodehere?
3.{newPropeller2().topGo();}
4.
5.voidtopGo()//addcodehere?
6.{middleGo();}
7.
8.voidmiddleGo()//addcodehere?
9.{go();System.out.println("latemiddle");}
voidgo()//addcodehere?
12.{thrownewException();}
13.}
为使代码通过编译,需要在哪一行加入声明throwsException?()
查看答案
搜索结果不匹配?点我反馈
更多问题