Code example for ThreadFactory

Methods: newThread