Question d’entretien chez Cognizant

What is Encapsulation? Pyramid Pattern in Java