Persistent Systems Interview Question

They asked me all oops related concepts