Rootcode Labs interview question

Describe OOP principals with an example