P&I interview question

Simple java and sql questions to get an overview of your knowledge.