Valtech Interview Question

Explain oops features with real world example and a small program