Newgen Software interview question

Mostly Java and DB related questions