Question d’entretien chez Guidewire

what is Encapsulation and Inheritance?