FIS interview question

Write and explain thread creation in java