Aspire Systems Interview Question

Write a code snippet to demonstrate encapsulation.