redBus India interview question

Explain inheritance, encapsulation, abstraction etc