Bileeta interview question

Describe object oriented principles and some db query details