FIS Interview Question

Oops concept and sql queries