Virtusa Interview Question

Write a code which explains Encapsulation