Neebal Technologies Interview Question

In Programming two programs are given, OOPS concepts