Aspire Systems interview question

Write a code snippet to demonstrate encapsulation.