Capgemini Engineering Interview Question

How we can define a thread in java?