MathWorks Interview Question

How to work with threads in Java?