Pregunta de entrevista de Codexis

What is encapsulation? What is an abstract class?