Amdocs Interview Question

How is multithreading achieved in java ?