ThreadPool(ThreadGroup threadGroup){
  this.threadGroup=threadGroup;
}

ThreadPool ( ThreadGroup threadGroup ) { this . threadGroup = threadGroup ; }
creates a new thread group that executes tasks in threads of the given thread group .
