Pregunta de entrevista de Modak

What is Inheritance, encapsulation and heap memory.