Persistent Systems Interview Question

Q1) oops concepts 2 coding questions