Jio interview question

What is encapsulation and how you do it