Capgemini interview question

Concept of multithreading and write a program on it.