单项选择题

在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)