Question d’entretien chez Infosys

how do you establish connction with Database in java