Java SE 8 Programmer II (1Z0-809)
© examsiri.com
Question : 7 of 8
Marks:
+1,
-0
Given the code fragment:
try (Connection con = DriverManager.getConnection(url, uname, pwd)) {
Statement stmt = con.createStatement();
System.out.print(stmt.executeUpdate("INSERT INTO Emp VALUES (500,'Murray')"));
}Assuming the SQL query executes properly, what is the result?
Go to Question: