Paycom Interview Question

What is encapsulation and what are its advantages?