Capgemini Engineering interview question

Explain multi-threading program with an example.