Pregunta de entrevista de Stryker

What is encapsulation? Difference between Inheritance and Encapsulation?