Perficient interview question

Basic OOP Questions, SQL