Chubb interview question

Basic questions of java. And sql and regarding the project