Pergunta de entrevista da empresa Kanerika Software

Write code on How to achieve Encapsulation and Abstraction?