BairesDev Interview Question

How to handle multithread in Java?