Infosys Interview Question

Q1. Explain OOPs and it's concepts for inheritance and encapsulation.