Pregunta de entrevista de Conseqta

How do you connect your Java application to the database?