These are some of the favorite lines we write for JDBC connectivity: In this particular example, I have used the MySQL driver to connect to MySQL database. This is also one of the favourite questions asked in interviews. First of all I can tell you what all questions can be asked in this topic: What ...