Domanda di colloquio di Guidewire

what is Encapsulation and Inheritance?