Pergunta de entrevista da empresa Ribbon Communications

what are the different ways to create threads in java and the ways to achieve synchronization.