Domanda di colloquio di Cognizant

What is Encapsulation? Pyramid Pattern in Java