Cognizant interview question

What is Encapsulation? Pyramid Pattern in Java