Accenture Interview Question

How it achieve threading