网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
在J2EE中,使用Document对象的()方法,可以得到一个NodeList对象。
A

getDocumentElement方法

B

getElementsByTagName方法

C

getElementTagName方法

D

getElementById方法


参考答案

参考解析
解析: 暂无解析
更多 “单选题在J2EE中,使用Document对象的()方法,可以得到一个NodeList对象。A getDocumentElement方法B getElementsByTagName方法C getElementTagName方法D getElementById方法” 相关考题
考题 在J2EE中,JAXP中所提供的更新原始XML文档的方法是调用XSLT引擎,主要和两个类有关,它们是()。 A.Node和Element类B.Document和NodeList类C.TransformerFactory和Transformer类D.TransFactory和Transmer类

考题 在J2EE中,在DOM基本对象中,代表文档树中一个抽象的节点和文档中的标签元素的对象分别是()。 A.Document,NodeB.Node,NodeListC.NodeList,ElementD.Node,Element

考题 在J2EE中,以下关于得到ResultSet对象、PreparedStatement对象、CallableStatement对象的说法,正确的是()。 A.可以使用Statement对象的executeQuery方法返回ResultSet对象B.可以使用Connection对象的createStatement方法获得PreparedStatement对象C.可以使用Connection对象的prepareCall()方法获得CallableStatement对象D.可以使用Connection对象的executeQuery方法返回ResultSet对象

考题 在J2EE中,下列选项中,()可以得到URLConnection对象。 A.使用URL对象的openConnection方法B.使用URLConnection类的静态方法openConnection()方法得到C.使用URL对象的getConnection()方法得到D.使用URLConnection类的静态方法getConnection()方法得到

考题 在J2EE中,系列选项中,()可以得到URLCconnection类对象。 A.使用URL对象的openConnection()方法得到B.使用URLConnection类的静态方法openConnection()方法得到C.使用URL对象的getConnection()方法得到D.使用URLConnection类的静态方法getConnection()方法得到

考题 在J2EE中,接受一个XML文档,返回document对象,以分析该XML文档,可以使用如下()方法获得document对象 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”);

考题 在J2EE中,使用Document对象的()方法,可以得到一个NodeList对象。 A.getDocumentElement方法B.getElementsByTagName方法C.getElementTagName方法D.getElementById方法

考题 在J2EE中,对XML文档进行转换后,将源DOM树中的数据输出到指定目标流的方法是()。 A.DomResult对象的DomResult方法B.Nodelist对象的toString方法C.Document对象的addDocumenListener方法D.Transformer对象的transform方法

考题 在J2EE中,对于以下ServletConfig的描述,正确的是()。 A.一旦servlet被实例化后,包容器把一个ServletConfig类型的对象传送给init()方法B.可以使用Servlet的getServletConfig()方法返回ServletConfig对象C.ServletConfig对象的方法getInitParameter(name)返回初始化参数name的值,初始化参数一般定义在web.xml中D.ServletConfig对象的方法getServletName()方法返回在web.xml中的元素的值

考题 在J2EE中,下列选项中,()可以得到URLConnection对象。 A、使用URL对象的openConnection方法B、使用URLConnection类的静态方法openConnection()方法得到C、使用URL对象的getConnection()方法得到D、使用URLConnection类的静态方法getConnection()方法得到

考题 为获取页面中多个同名对象,应使用document的()方法;A、getElementById()B、getElementsByName()C、getElementsByTagName()

考题 某网页中有一个窗体对象,其名称是mainForm,该窗体对象的第一个元素是按钮,其名称是myButton,表述该按钮对象的方法是()。A、document.forms.myButtonB、document.mainForm.myButtonC、document.forms[0].element[0]D、以上都可以

考题 在J2EE中,以下关于得到ResultSet对象、PreparedStatement对象、CallableStatement对象的说法,正确的是()。A、可以使用Statement对象的executeQuery方法返回ResultSet对象B、可以使用Connection对象的createStatement方法获得PreparedStatement对象C、可以使用Connection对象的prepareCall()方法获得CallableStatement对象D、可以使用Connection对象的executeQuery方法返回ResultSet对象

考题 在J2EE中,下列选项中,()可以得到URLConnection类对象 A、 使用URL对象的openConnection()方法得到B、 使用URLConnection类的静态方法openConnection()方法得到C、 使用URL对象的getConnection()方法得到D、 使用URLConnection类的静态方法getConnection()方法得到

考题 在J2EE中,使用Document对象的()方法,可以得到一个NodeList对象。 A、getDocumentElement方法B、getElementsByTagName方法C、getElementTagName方法D、getElementById方法

考题 在J2EE中,JAXP中所提供的更新原始XML文档的方法是调用XSLT引擎,主要和两个类有关,他们是()  A、Node和Element类B、Document和NodeList类C、TransformerFactory和Transformer类D、TransFactory和Transmer类

考题 在J2EE中,ServletResponse的()方法可以返回在应答中写入二进制数据的对象,()方法可以返回在应答中发送字符文本的对象。 A、getOutputStream()和getWriter()方法B、getWriter()和getOutputStream()方法C、getInputStream()和getPrint()方法D、getStream()和getPrint()方法

考题 在J2EE中,在DOM基本对象中,代表文档树中一个抽象的节点和文档中的标签元素的对象分别是()。 A、Document, NodeB、Node, NodeListC、NodeList, ElementD、Node, Element

考题 在J2EE中,接受一个XML文档,返回document对象,以分析该XML文档,可以使用如下()方法获得document对象 A、Document doc=DocumentBuilderFactory.parse(“my.xml”);B、Document doc=DocumentBuilder.parse(“my.xml”);C、DocumentBuilderFactory dbf= DocumentBuilderFactory.newInstance(); DocumentBuilder builder=dbf.newDocumentBuilder(); Document doc=builder.parse(“my.xml”);D、DocumentBuilder builder=new DocumentBuilder(); Document doc=builder.parse(“my.xml”);

考题 在J2EE中,对于以下ServletConfig的描述,正确的是()。A、一旦servlet被实例化后,包容器把一个ServletConfig类型的对象传送给init()方法B、可以使用Servlet的getServletConfig()方法返回ServletConfig对象C、ServletConfig对象的方法getInitParameter(name)返回初始化参数name的值,初始化参数一般定义在web.xml中D、ServletConfig对象的方法getServletName()方法返回在web.xml中的元素的值

考题 在JavaScript中,document对象的()方法用于向document对象所对应的HTML文档页面写入内容,()属性为document对象所对应的HTML文档定义标题。

考题 在J2EE中,对XML文档进行转换后,将源DOM树中的数据输出到指定目标流的方法是()。A、DomResult对象的DomResult方法B、Nodelist对象的toString方法C、Document对象的addDocumenListener方法D、Transformer对象的transform方法

考题 多选题在J2EE中,对于以下ServletConfig的描述,正确的是()。A一旦servlet被实例化后,包容器把一个ServletConfig类型的对象传送给init()方法B可以使用Servlet的getServletConfig()方法返回ServletConfig对象CServletConfig对象的方法getInitParameter(name)返回初始化参数name的值,初始化参数一般定义在web.xml中DServletConfig对象的方法getServletName()方法返回在web.xml中的元素的值

考题 单选题在J2EE中,系列选项中,()可以得到URLCconnection类对象。A 使用URL对象的openConnection()方法得到B 使用URLConnection类的静态方法openConnection()方法得到C 使用URL对象的getConnection()方法得到D 使用URLConnection类的静态方法getConnection()方法得到

考题 单选题在J2EE中,下列选项中,()可以得到URLConnection对象。A 使用URL对象的openConnection方法B 使用URLConnection类的静态方法openConnection()方法得到C 使用URL对象的getConnection()方法得到D 使用URLConnection类的静态方法getConnection()方法得到

考题 多选题在J2EE中,以下关于得到ResultSet对象、PreparedStatement对象、CallableStatement对象的说法,正确的是()。A可以使用Statement对象的executeQuery方法返回ResultSet对象B可以使用Connection对象的createStatement方法获得PreparedStatement对象C可以使用Connection对象的prepareCall()方法获得CallableStatement对象D可以使用Connection对象的executeQuery方法返回ResultSet对象

考题 单选题在J2EE中,接受一个XML文档,返回document对象,以分析该XML文档,可以使用如下()方法获得document对象A Document doc=DocumentBuilderFactory.parse(“my.xml”);B Document doc=DocumentBuilder.parse(“my.xml”);C DocumentBuilderFactory dbf= DocumentBuilderFactory.newInstance(); DocumentBuilder builder=dbf.newDocumentBuilder(); Document doc=builder.parse(“my.xml”);D DocumentBuilder builder=new DocumentBuilder(); Document doc=builder.parse(“my.xml”);