Virtusa Interview Question

Sum of array program, typecasting program, oops concepts