Pergunta de entrevista da empresa Guidewire

what is Encapsulation and Inheritance?