Pergunta de entrevista da empresa Tata Consultancy Services

What's Encapsulation? What's inheritence? What's polymorphism?