Amadeus Interview Question

How does Agile work? Explain Encapsulation in OOP