PthinkS Interview Question

About oops concepts and there syntaxs