Capgemini Engineering Interview Question

Explain multi-threading program with an example.