Aptean interview question

Mainly Core Java and MySql