Anonymous Interview Question

What are oops pillar explain Code for inheritance