Navsoft interview question

Basic oops concepts with sql