DXC Technology Interview Question

What is encapsulation and abstraction? How they are implemented?