A.if(i>10)throwException(“something?swrong!”);
B.if(i>10)throwExceptione(“something?swrong!”);
C.if(i>10)thrownewException(“something?swrong!”);
D.if(i>10)thrownewExceptione(“something?swrong!”);
第1题
A.Documentdoc=DocumentBuilderFactory.parse(“my.xml”);
B.Documentdoc=DocumentBuilder.parse(“my.xml”);
C.DocumentBuilderFactorydbf=DocumentBuilderFactory.newInstance();DocumentBuilder builder=dbf.newDocumentBuilder();Documentdoc=builder.parse(“my.xml”);
D.DocumentBuilderbuilder=newDocumentBuilder();Documentdoc=builder.parse(“my.xml”);
第3题
A.dostart()方法和doend()方法
B.doStartTag()方法和doEndTag()方法
C.doStart()方法和doEnd()方法
D.dostartTag()方法和doendTag()方法
第4题
A.创建一个类mypackage.My_Class的对象
B.创建一个类mypackage.mysubpackage.My_Class的对象
C.该语句是错误的
D.创建一个类mypackage.My_Class的对象和一个类mypackage.Mysubpackage.My_Class的对象
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!