在J2EE中,用JAXP转化XML文档,可以创建输出流把数据输出到屏幕上,以下创建该输出流的代码是() A、 Stream result = stream.newStream(System.out)B、 StreamResult result = new  StreamResult(System.out)C、 Stream result = new Stream(System.out)D、 StreamResult result = DOMSource.newStreamResult(System.out

题目

在J2EE中,用JAXP转化XML文档,可以创建输出流把数据输出到屏幕上,以下创建该输出流的代码是() 

  • A、 Stream result = stream.newStream(System.out)
  • B、 StreamResult result = new  StreamResult(System.out)
  • C、 Stream result = new Stream(System.out)
  • D、 StreamResult result = DOMSource.newStreamResult(System.out)
参考答案和解析
正确答案:B
更多“在J2EE中,用JAXP转化XML文档,可以创建输出流把数据输出到屏幕上,以下创建该输出流的代码是() A、 Stream result = stream.newStream(System.out)B、 StreamResult result = new  StreamResult(System.out)C、 Stream result = new Stream(System.out)D、 StreamResult result = DOMSource.newStreamResult(System.out”相关问题