If you have to perform multiple tasks by multiple threads,have multiple run() methods.For example:
Output