Pergunta de entrevista da empresa bp

(1) describe the key components of JDBC? (2) Explain how a Java lock works compared to other concurrency control constructs.