Domanda di colloquio di CirrusLabs

What is encapsulation and write a program to find leap year.