Bounteous interview question

relate to java, OOP, and sql