Given the snippet below, what will it print if the database is connected successfully?
Connection con = DriverManager.getConnection(dbURL, user, pass);
if (con != null) {
System.out.println("Connection Successful");
}
Connection Failed
Exception Thrown
Connection Successful
No Output
This question is part of this quiz :
Java JDBC