在JAVA语言中,下列()是正确的JDBC代码片段
A.
PreparedSratement pstmt=con.prepareStarement(“insert into EMP(EMPNO,ENAME)values(?,?)”); pstmt.serInt(1,7);
B.
PreparedSratementpstmt=con.prepareStarement(“insentintoEMP(EMPNO,ENAME)values(?,?)”); pstmt.serInt(1,”7”);
C.
srme=con.prepareStarement(“insentintoEMP(EMPNO,ENAME)values(?,?)”); pstmt.serInt(7,”Admin”);
D.
PreparedSratementpstmt=con.prepareStarement(“insentintoEMP(EMPNO,ENAME)values(?,?)”); pstmt.serInt(7,”Admin”);