EbixCash interview question

In what ways can we achieve Multi-Threading, Out of the 2 ways to achieve which is preferred and why?