單項(xiàng)選擇題

使用DOM解析XML時,創(chuàng)建DocumentBuilder對象正確的是:()

A.DocumentBuilderbuilder=newDocumentBuilder();
B.DocumentBuilderbuilder=newDocumentBuilderFactory()
C.DocumentBuilderbuilder=DocumentBuilderFactory.newInstance();
D.DocumentBuilderbuilder=DocumentBuilderFactory.newInstance().newDocumentBuilder();

微信掃碼免費(fèi)搜題