ABC interview question

Basic Object oriented programming SQL