Persistent Systems interview question

OOP based questions and java problems