SPEC INDIA interview question

What is threading in java?