Pregunta de entrevista de Infosys

how do you establish connction with Database in java