欢迎来到易学考试网 易学考试官网
全部科目 > java工程师信产部认证考试

单项选择题

在J2EE中,在my.xml中只有代码:

假设doc为已经创建的Document对象,则()解析生成上述XML文档对象。    

    A.Node person = doc.createNode(“PERSON”,”E01”);
    B.Element person = doc.createElement(“PERSON”,”E01”);
    C.Element person = doc.createElement (“PERSON”);Person.setAttribute(“PERSON”,”E01”);
    D.Node person = doc.createElement (“PERSON”);Person.setAttribute(“PERSON”,”E01”);

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题