Amdocs Interview Question

1. Oop question 2.Correct the error in the code 3.Solve the mystery