LTIMindtree interview question

1. What is encapsulation. 2. How can you achieve abstraction in java