IGT Solutions interview question

1. Java basic 2. Design patter