Persistent Systems Interview Question

Basic java questions Two coding questions One was secnerio based question,whoes language was difficult but it's an easy task. Other was very esay just reverse check