The interview was just a test. A set of three java question. One to find the bug and the other two is writing a method based on specific question asked. The first question was about static objects and methods. Knowing polymorphism and your fundamental concept java is a must to be able to answer them. It was easy and straightforward. Last two questions is ok. If you've practiced a lot from java then you'll be fine else study your basics