Virtusa Interview Question

Program on array Some oops concepts